forked from Imagelibrary/rtems
@@ -9,11 +9,8 @@ RTEMS_CPU = arm
|
|||||||
CPU_CFLAGS = -march=armv7-m -mthumb
|
CPU_CFLAGS = -march=armv7-m -mthumb
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -ggdb3
|
CFLAGS_OPTIMIZE_V = -O2 -ggdb3
|
||||||
|
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561.
|
LDFLAGS = -Wl,--gc-sections
|
||||||
# Add CFLAGS and LDFLAGS for compiling and linking with per item sections
|
|
||||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
|
||||||
# LDFLAGS = -Wl,--gc-sections
|
|
||||||
|
|
||||||
BINEXT?=.bin
|
BINEXT?=.bin
|
||||||
# This defines the operations performed on the linked executable.
|
# This defines the operations performed on the linked executable.
|
||||||
|
|||||||
Reference in New Issue
Block a user