Skip to content
Snippets Groups Projects
Commit 9b43a7d1 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/Makefile: libffi: Build with -Os.

Also try to use -fno-exceptions. Other options taken from libffi's configure
defaults.
parent 10e5e103
No related branches found
No related tags found
No related merge requests found
...@@ -297,7 +297,7 @@ libffi: ...@@ -297,7 +297,7 @@ libffi:
cd ../lib/libffi; git clean -d -x -f cd ../lib/libffi; git clean -d -x -f
cd ../lib/libffi; ./autogen.sh cd ../lib/libffi; ./autogen.sh
mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \ 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 make install-exec-recursive; make -C include install-data-am
axtls: ../lib/axtls/README axtls: ../lib/axtls/README
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment