Skip to content

Commit 63ea174

Browse files
committed
build: enable newlib retargetable locking
Signed-off-by: Huaqi Fang <[email protected]>
1 parent feb1b76 commit 63ea174

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,8 @@ stamps/build-newlib: $(NEWLIB_SRCDIR) $(NEWLIB_SRC_GIT) stamps/build-gcc-newlib-
673673
--enable-newlib-io-long-double \
674674
--enable-newlib-io-long-long \
675675
--enable-newlib-io-c99-formats \
676+
--enable-newlib-retargetable-locking \
677+
--enable-newlib-reent-check-verify \
676678
--enable-newlib-register-fini \
677679
CFLAGS_FOR_TARGET="-O2 -D_POSIX_MODE -ffunction-sections -fdata-sections $(CFLAGS_FOR_TARGET)" \
678680
CXXFLAGS_FOR_TARGET="-O2 -D_POSIX_MODE -ffunction-sections -fdata-sections $(CXXFLAGS_FOR_TARGET)"
@@ -691,6 +693,8 @@ stamps/build-newlib-nano: $(NEWLIB_SRCDIR) $(NEWLIB_SRC_GIT) stamps/build-gcc-ne
691693
$(CONFIGURE_HOST) \
692694
--prefix=$(builddir)/install-newlib-nano \
693695
--enable-newlib-reent-small \
696+
--enable-newlib-retargetable-locking \
697+
--enable-newlib-reent-check-verify \
694698
--disable-newlib-fvwrite-in-streamio \
695699
--disable-newlib-fseek-optimization \
696700
--disable-newlib-wide-orient \

0 commit comments

Comments
 (0)