forked from Imagelibrary/rtems
@@ -9,6 +9,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
CPU_CFLAGS = -mcpu=cpu32
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
@@ -10,6 +10,8 @@ CPU_CFLAGS = -mcpu=68040
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
@@ -9,6 +9,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
CPU_CFLAGS = -mcpu32
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
Reference in New Issue
Block a user