forked from Imagelibrary/rtems
powerpc/.../mpc8260ads.cfg: Disable per function sections
updates #2565.
This commit is contained in:
@@ -17,6 +17,8 @@ CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
|
|||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||||
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