updates #2638. --- c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg index 9f7428d..af912e7 100644 --- a/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg +++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg @@ -19,6 +19,10 @@ endif # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g +# Per function sections disabled per https://devel.rtems.org/ticket/2638 +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# +# LDFLAGS = -Wl,--gc-sections # Here is the rule to actually build a $(ARCH)/foo$(EXEEXT) # It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm -- 1.8.3.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel