summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/automake/compile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/automake/compile.am b/cpukit/automake/compile.am
index 33f37ca4bd..4f79d0eb9f 100644
--- a/cpukit/automake/compile.am
+++ b/cpukit/automake/compile.am
@@ -42,8 +42,6 @@
if RTEMS_USE_GCC
## All the stuff below is specific to gcc
-
-CFLAGS_DEFAULT=-g -Wall
## gcc >= 2.8.x
GCCSPECS = $(GCC_SPECS)
else
@@ -56,7 +54,7 @@ DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
$(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
-CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
+CFLAGS = @CFLAGS@ $(CPU_CFLAGS) $(XCFLAGS)
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
## FIXME: This doesn't seem to be correct