forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user