summaryrefslogtreecommitdiffstats
path: root/automake/compile.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-12-06 11:21:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-12-06 11:21:57 +0000
commitf04c9163b8d37bd2646d64c0c8e11fb4b92bb2d0 (patch)
treeacbed0b1b14e728f9374c59dd6785992807cdc71 /automake/compile.am
parent2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-f04c9163b8d37bd2646d64c0c8e11fb4b92bb2d0.tar.bz2
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove hard-coded *_PROFILE_V. Add autoconf-supplied CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V. Remove CPPFLAGS_GCC.
Diffstat (limited to 'automake/compile.am')
-rw-r--r--automake/compile.am15
1 files changed, 5 insertions, 10 deletions
diff --git a/automake/compile.am b/automake/compile.am
index 7a577a6308..c6dc0246e7 100644
--- a/automake/compile.am
+++ b/automake/compile.am
@@ -54,18 +54,13 @@ endif # RTEMS_USE_GCC
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
- $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
+ $(DEFINES) $(XCPPFLAGS)
CFLAGS = @CFLAGS@ $(CPU_CFLAGS) $(XCFLAGS)
CXXFLAGS = @CXXFLAGS@ $(CPU_CFLAGS) $(XCXXFLAGS)
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
LINK_LIBS = $(LD_LIBS)
-# profile flag; use gprof(1)
-CFLAGS_PROFILE_V=-pg
-CXXFLAGS_PROFILE_V=-pg
-LDFLAGS_PROFILE_V =
-
#
# Client compiler and support tools
#
@@ -194,9 +189,10 @@ LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
LIBSUFFIX_VA = $(LIB_VARIANT).a
## These are supposed to be set in make/custom/<bsp>.cfg
-## CFLAGS_OPTIMIZE_V =
-## CFLAGS_DEBUG_V =
-## CFLAGS_PROFILE_V =
+CPU_CFLAGS = @CPU_CFLAGS@
+CFLAGS_OPTIMIZE_V = @CFLAGS_OPTIMIZE_V@
+CFLAGS_DEBUG_V = @CFLAGS_DEBUG_V@
+CFLAGS_PROFILE_V = @CFLAGS_PROFILE_V@
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
## ------------------------------------------------------------------------
@@ -225,7 +221,6 @@ NM = @NM@
SIZE = @SIZE@
STRIP = @STRIP@
-
##
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)