Browse Source

unix/Makefile: libffi: Build with -Os.

Also try to use -fno-exceptions. Other options taken from libffi's configure
defaults.
pull/2094/merge
Paul Sokolovsky 9 years ago
parent
commit
9b43a7d1be
  1. 2
      unix/Makefile

2
unix/Makefile

@ -297,7 +297,7 @@ libffi:
cd ../lib/libffi; git clean -d -x -f
cd ../lib/libffi; ./autogen.sh
mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out CC="$(CC)" CXX="$(CXX)" LD="$(LD)"; \
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-structs CC="$(CC)" CXX="$(CXX)" LD="$(LD)" CFLAGS="-Os -fomit-frame-pointer -fstrict-aliasing -ffast-math -fno-exceptions"; \
make install-exec-recursive; make -C include install-data-am
axtls: ../lib/axtls/README

Loading…
Cancel
Save