diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/make/compilers/gcc-target-default.cfg | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg index c832a08143..15758388a1 100644 --- a/c/src/make/compilers/gcc-target-default.cfg +++ b/c/src/make/compilers/gcc-target-default.cfg @@ -158,20 +158,17 @@ MKLIB=echo library is complete: # # NOTE: we override COMPILE.c # -# NOTE: Remove -pipe if it causes you problems. Using it can decrease -# compile time. -# COMPILE.c=$(CC) $(CFLAGS) $(XCFLAGS) -c ${ARCH}/%.o: %.c - ${COMPILE.c} -pipe -o $@ $< + ${COMPILE.c} -o $@ $< ${ARCH}/%.o: %.cc - ${COMPILE.c} -pipe -o $@ $< + ${COMPILE.c} -o $@ $< ${ARCH}/%.o: %.S - ${COMPILE.c} -pipe -DASM -o $@ $< + ${COMPILE.c} -DASM -o $@ $< # strip out C++ style comments. ${ARCH}/%.o: %.s @@ -224,20 +221,6 @@ ifneq ($(words $(C_FILES) $(CC_FILES) $(S_FILES)), 0) $(MV) $(DEPEND).tmp $(DEPEND) endif - -# List (possibly empty) of required managers -# We require: -# region -- used by lib/libcsupport for malloc() -# ext -- used by libc for libc reentrancy hooks - -MANAGERS_REQUIRED=region ext sem - -# Create a RTEMS executable based on MANAGERS which was set in -# app's Makefile - -MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS), $(MANAGER_LIST)) -MANAGERS_NOT_WANTED:=$(filter-out $(MANAGERS_REQUIRED), $(MANAGERS_NOT_WANTED)) - # spell out all the LINK_FILE's, rather than using -lbsp, so # that $(LINK_FILES) can be a dependency |