Browse Source
Merge pull request #440 from riscv/use-O2-for-regular-newlib
Use -O2 for newlib and -Os for newlib nano.
pull/447/head
Jim Wilson
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
Makefile.in
|
|
|
@ -476,8 +476,8 @@ 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 \
|
|
|
|
CFLAGS_FOR_TARGET="-Os $(CFLAGS_FOR_TARGET)" \
|
|
|
|
CXXFLAGS_FOR_TARGET="-Os $(CXXFLAGS_FOR_TARGET)" |
|
|
|
CFLAGS_FOR_TARGET="-O2 $(CFLAGS_FOR_TARGET)" \
|
|
|
|
CXXFLAGS_FOR_TARGET="-O2 $(CXXFLAGS_FOR_TARGET)" |
|
|
|
$(MAKE) -C $(notdir $@) |
|
|
|
$(MAKE) -C $(notdir $@) install |
|
|
|
mkdir -p $(dir $@) && touch $@ |
|
|
|
|