make: Remove -g flags

The -g flag is set by the BSP.
This commit is contained in:
Sebastian Huber
2013-02-12 13:51:27 +01:00
parent baa60b5e0b
commit 3e132a88c0

View File

@@ -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)