diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/custom/psim.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg index 9a6ce2e5aa..32f1e0e365 100644 --- a/make/custom/psim.cfg +++ b/make/custom/psim.cfg @@ -71,7 +71,8 @@ endef # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS = -mcpu=603 +CPU_CFLAGS = -mcpu=603 +#-ffunction-sections # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS @@ -104,6 +105,7 @@ define make-exe $(SIZE) $@ endef else +# -Wl,--gc-sections define make-exe $(CC) $(CFLAGS) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) |