forked from Imagelibrary/rtems
make: Remove -g flags
The -g flag is set by the BSP.
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
# cf. make.info ("Implicit rules/variables" for details)
|
# cf. make.info ("Implicit rules/variables" for details)
|
||||||
|
|
||||||
# NOTE: Should these go to CPPFLAGS ?
|
# 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_CFLAGS should probably be renamed to CPU_CPPFLAGS
|
||||||
# NOTE: CPU_DEFINES should probably be merged with CPU_CFLAGS
|
# NOTE: CPU_DEFINES should probably be merged with CPU_CFLAGS
|
||||||
@@ -52,8 +52,8 @@ CXXFLAGS_DEBUG_V+=
|
|||||||
|
|
||||||
# when debugging, optimize flag: typically empty
|
# when debugging, optimize flag: typically empty
|
||||||
# some compilers do allow optimization with their "-g"
|
# some compilers do allow optimization with their "-g"
|
||||||
CFLAGS_OPTIMIZE_V+=-g
|
CFLAGS_OPTIMIZE_V+=
|
||||||
CXXFLAGS_OPTIMIZE_V+=-g
|
CXXFLAGS_OPTIMIZE_V+=
|
||||||
|
|
||||||
ifndef AUTOMAKE
|
ifndef AUTOMAKE
|
||||||
CFLAGS_$(VARIANT) =$(CFLAGS_$(VARIANT)_V)
|
CFLAGS_$(VARIANT) =$(CFLAGS_$(VARIANT)_V)
|
||||||
|
|||||||
Reference in New Issue
Block a user