[rtems commit] make: Remove -g flags
Sebastian Huber
sebh at rtems.org
Wed Feb 13 08:47:02 UTC 2013
Module: rtems
Branch: master
Commit: 3e132a88c0485a0e9ef2b446c7b7f96ef986505a
Changeset: http://git.rtems.org/rtems/commit/?id=3e132a88c0485a0e9ef2b446c7b7f96ef986505a
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 12 13:51:27 2013 +0100
make: Remove -g flags
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)
More information about the vc
mailing list