[PATCH 3/6] make: Remove -g flags

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 12 13:01:00 UTC 2013


The -g flag is set by the BSP.
---
 c/src/make/compilers/gcc-target-default.cfg |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg
index ca41487..006bc46 100644
--- a/c/src/make/compilers/gcc-target-default.cfg
+++ b/c/src/make/compilers/gcc-target-default.cfg
@@ -16,7 +16,7 @@
 # cf. make.info ("Implicit rules/variables" for details)
 
 # NOTE: Should these go to CPPFLAGS ?
-CFLAGS_DEFAULT=-g -Wall
+CFLAGS_DEFAULT=-Wall
 
 # NOTE: CPU_CFLAGS should probably be renamed to CPU_CPPFLAGS
 # NOTE: CPU_DEFINES should probably be merged with CPU_CFLAGS
@@ -52,8 +52,8 @@ CXXFLAGS_DEBUG_V+=
 
 # when debugging, optimize flag: typically empty
 # some compilers do allow optimization with their "-g"
-CFLAGS_OPTIMIZE_V+=-g
-CXXFLAGS_OPTIMIZE_V+=-g
+CFLAGS_OPTIMIZE_V+=
+CXXFLAGS_OPTIMIZE_V+=
 
 ifndef AUTOMAKE
 CFLAGS_$(VARIANT)  =$(CFLAGS_$(VARIANT)_V)
-- 
1.7.7




More information about the devel mailing list