We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63f696c + 83630cb commit 051b9f7Copy full SHA for 051b9f7
Makefile.in
@@ -571,8 +571,8 @@ stamps/build-newlib: $(NEWLIB_SRCDIR) $(NEWLIB_SRC_GIT) stamps/build-gcc-newlib-
571
--enable-newlib-io-long-long \
572
--enable-newlib-io-c99-formats \
573
--enable-newlib-register-fini \
574
- CFLAGS_FOR_TARGET="-O2 -D_POSIX_MODE $(CFLAGS_FOR_TARGET)" \
575
- CXXFLAGS_FOR_TARGET="-O2 -D_POSIX_MODE $(CXXFLAGS_FOR_TARGET)"
+ CFLAGS_FOR_TARGET="-O2 -D_POSIX_MODE -ffunction-sections -fdata-sections $(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="-O2 -D_POSIX_MODE -ffunction-sections -fdata-sections $(CXXFLAGS_FOR_TARGET)"
576
$(MAKE) -C $(notdir $@)
577
$(MAKE) -C $(notdir $@) install
578
mkdir -p $(dir $@) && touch $@
0 commit comments