diff options
author | Nowar Gu <nowar100@gmail.com> | 2011-07-11 09:24:23 +0800 |
---|---|---|
committer | modcarl <modcarl@gmail.com> | 2011-07-18 21:00:40 +0800 |
commit | 7cb56a01f40b91e3b4f31c062862df9d289f0e1b (patch) | |
tree | 04638cce41fffbe39cf95476c76f81d9de98ecf3 | |
parent | 58211200f87167848b74cec8a1d6a28f1e03185e (diff) | |
download | gdk-7cb56a01f40b91e3b4f31c062862df9d289f0e1b.tar.gz |
Remove -g on release mode. (GDK_DEBUG=0)
-rw-r--r-- | build/core/add-application.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/build/core/add-application.mk b/build/core/add-application.mk index 6864dc6..d4892e0 100644 --- a/build/core/add-application.mk +++ b/build/core/add-application.mk @@ -146,14 +146,10 @@ else endif endif -# set release/debug build flags. We always use the -g flag because -# we generate symbol versions of the binaries that are later stripped -# when they are copied to the final project's libs/<abi> directory. -# ifeq ($(APP_OPTIM),debug) APP_CFLAGS := -O0 -g $(APP_CFLAGS) else - APP_CFLAGS := -O2 -DNDEBUG -g $(APP_CFLAGS) + APP_CFLAGS := -O2 -DNDEBUG $(APP_CFLAGS) endif $(if $(call get,$(_map),defined),\ |