forked from Imagelibrary/rtems
@@ -13,9 +13,11 @@ CPU_CFLAGS = -mcpu=52235
|
|||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
|
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 #2570.
|
||||||
|
# The following two lines enable compiling and linking on per element.
|
||||||
|
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||||
|
# LDFLAGS = -Wl,--gc-sections
|
||||||
|
|
||||||
# This defines the operations performed on the linked executable.
|
# This defines the operations performed on the linked executable.
|
||||||
# is currently required.
|
# is currently required.
|
||||||
|
|||||||
Reference in New Issue
Block a user