Skip to content

Commit

Permalink
Align newlib-gs-1.16 configure options with GomSpace/avr32-newlib
Browse files Browse the repository at this point in the history
Add --enable-newlib-retargetable-locking

Note that there are some additional options as compared with
GomSpace/avr32-newlib, namely:

  --disable-newlib-supplied-syscalls
  --disable-libgloss
  --disable-nls
  --disable-shared
  • Loading branch information
mmeisner committed Sep 21, 2023
1 parent 4e5a16c commit 8498e30
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions Makefile.newlib-gs-1.16.mk
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,19 @@ build-newlib stamps/build-newlib: stamps/prep-newlib stamps/install-binutils sta
make clean ; \
popd ; \
../../newlib-$(NEWLIB_VERSION)/configure --prefix=$(PREFIX) \
--with-build-time-tools=$(PREFIX) \
--target=$(TARGET) --disable-newlib-supplied-syscalls \
--disable-libgloss --disable-nls --disable-shared \
--enable-newlib-io-long-long --enable-newlib-io-long-double \
--enable-target-optspace --enable-newlib-io-pos-args \
--enable-newlib-reent-small && \
--with-build-time-tools=$(PREFIX) \
--target=$(TARGET) \
--disable-newlib-supplied-syscalls \
--disable-libgloss \
--disable-nls \
--disable-shared \
--enable-newlib-io-long-long \
--enable-newlib-io-long-double \
--enable-newlib-io-pos-args \
--enable-newlib-reent-small \
--enable-target-optspace \
--enable-newlib-retargetable-locking \
&& \
$(MAKE) -j$(PROCS) CFLAGS_FOR_TARGET=$(NEWLIB_FLAGS) CCASFLAGS=$(NEWLIB_FLAGS) && \
[ -d stamps ] || mkdir stamps
touch stamps/build-newlib;
Expand Down

0 comments on commit 8498e30

Please sign in to comment.