Remove debug_symbols config from release builds
That causes release standalone builds to be build with -O0
Change-Id: Iad8d2df19614bbd33b87aa0906525d7e1c2543d7
TBR=skyostil@google.com
diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
index 864c67e..01fcafb 100644
--- a/gn/standalone/BUILD.gn
+++ b/gn/standalone/BUILD.gn
@@ -62,6 +62,7 @@
"-fstrict-aliasing",
"-fstack-protector",
"-fPIC",
+ "-g",
"-Wa,--noexecstack",
"-Wformat",
"-Wall",
@@ -150,10 +151,7 @@
}
config("debug_symbols") {
- cflags = [
- "-g",
- "-O0",
- ]
+ cflags = [ "-O0" ]
if (is_android || is_linux) {
cflags += [ "-funwind-tables" ]
ldflags = [ "-rdynamic" ]