Browse Source
Merge pull request #449 from riscv/bump-newlib
Bump newlib
pull/464/head
Jim Wilson
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
2 deletions
-
Makefile.in
-
riscv-newlib
|
|
|
@ -476,6 +476,7 @@ stamps/build-newlib: $(srcdir)/riscv-newlib stamps/build-gcc-newlib-stage1 |
|
|
|
--enable-newlib-io-long-double \
|
|
|
|
--enable-newlib-io-long-long \
|
|
|
|
--enable-newlib-io-c99-formats \
|
|
|
|
--enable-newlib-register-fini \
|
|
|
|
CFLAGS_FOR_TARGET="-O2 $(CFLAGS_FOR_TARGET)" \
|
|
|
|
CXXFLAGS_FOR_TARGET="-O2 $(CXXFLAGS_FOR_TARGET)" |
|
|
|
$(MAKE) -C $(notdir $@) |
|
|
|
@ -500,7 +501,6 @@ stamps/build-newlib-nano: $(srcdir)/riscv-newlib stamps/build-gcc-newlib-stage1 |
|
|
|
--enable-newlib-nano-formatted-io \
|
|
|
|
--disable-newlib-supplied-syscalls \
|
|
|
|
--disable-nls \
|
|
|
|
--enable-newlib-register-fini \
|
|
|
|
CFLAGS_FOR_TARGET="-Os -ffunction-sections -fdata-sections $(CFLAGS_FOR_TARGET)" \
|
|
|
|
CXXFLAGS_FOR_TARGET="-Os -ffunction-sections -fdata-sections $(CXXFLAGS_FOR_TARGET)" |
|
|
|
$(MAKE) -C $(notdir $@) |
|
|
|
@ -519,6 +519,8 @@ stamps/merge-newlib-nano: stamps/build-newlib-nano stamps/build-newlib |
|
|
|
$(INSTALL_DIR)/$(NEWLIB_TUPLE)/lib/$${mld}/libg_nano.a; \
|
|
|
|
cp $(builddir)/install-newlib-nano/$(NEWLIB_TUPLE)/lib/$${mld}/libgloss.a\
|
|
|
|
$(INSTALL_DIR)/$(NEWLIB_TUPLE)/lib/$${mld}/libgloss_nano.a; \
|
|
|
|
cp $(builddir)/install-newlib-nano/$(NEWLIB_TUPLE)/lib/$${mld}/crt0.o\
|
|
|
|
$(INSTALL_DIR)/$(NEWLIB_TUPLE)/lib/$${mld}/crt0.o; \
|
|
|
|
done |
|
|
|
# Copy nano header files into newlib install dir.
|
|
|
|
mkdir -p $(INSTALL_DIR)/$(NEWLIB_TUPLE)/include/newlib-nano; \
|
|
|
|
|
|
|
|
@ -1 +1 @@ |
|
|
|
Subproject commit 320b28ea27c71df7afe62b21a220f77aef9eb88a |
|
|
|
Subproject commit 77ac27dcf8ebd6ea314b32e563f3d128fe431581 |