summaryrefslogtreecommitdiffstats
path: root/make/compilers/gcc-target-default.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-08 22:59:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-08 22:59:25 +0000
commit93f79c0f8b5521313221c755a12f04ba230cf14b (patch)
treea72fad36712c1c9aa09a02ce33e143bd54cdfea1 /make/compilers/gcc-target-default.cfg
parent7ed44167b154854a660f28ce80d1ff2d0b108abb (diff)
downloadrtems-93f79c0f8b5521313221c755a12f04ba230cf14b.tar.bz2
2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* leaf.cfg: Remove CFLAGS_DEBUG_OPTIMIZE_V. * compilers/gcc-no_bsp.cfg: Remove CPP_CC_FLAGS. * compilers/gcc-portsw.cfg: Remove CPP_CC_FLAGS. * compilers/gcc-target-default.cfg: Remove *_DEBUG_OPTIMIZE_*-flags, remove unused flags, remove -ansi from CPP. * custom/eth_comm.cfg: Remove CPU_DEFINES. * custom/sim68000.cfg: Remove CPU_DEFINES.
Diffstat (limited to '')
-rw-r--r--make/compilers/gcc-target-default.cfg14
1 files changed, 3 insertions, 11 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 530df0dced..428bbfafa2 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -97,8 +97,8 @@ endif
# when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g"
-CFLAGS_DEBUG_OPTIMIZE_V=-g
-CXXFLAGS_DEBUG_OPTIMIZE_V=-g
+CFLAGS_OPTIMIZE_V=-g
+CXXFLAGS_OPTIMIZE_V=-g
# profile flag; use gprof(1)
CFLAGS_PROFILE_V=-pg
@@ -110,10 +110,6 @@ CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V)
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
endif
-# dynamic libraries
-#CFLAGS_DYNAMIC_V=-fpic
-#ASFLAGS_DYNAMIC_V=
-
ifndef AUTOMAKE
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE)
@@ -160,11 +156,7 @@ CLOBBER_CC =
#
# CPP command to write file to standard output
-CPP=$(CC) -E -ansi -w -Wp,-$$
-
-# flags set by cc when running cpp
-# NOTE: CPP_CC_FLAGS does not seem to be used anywhere
-# CPP_CC_FLAGS=-D__STDC__
+CPP=$(CC) -E -w -Wp,-$$
# egrep regexp to ignore symbol table entries in ar archives.
# Only used to make sure we skip them when coalescing libraries.