unix/Makefile: Disable building the shared library of libffi.
MicroPython doesn't need the shared library and disabling it in the configure could ease the build of a static version of MicroPython.
This commit is contained in:
parent
4eb7063608
commit
720f2cfba9
@ -294,7 +294,7 @@ $(TOP)/lib/libffi/configure: $(TOP)/lib/libffi/autogen.sh
|
||||
# docs and depending on makeinfo
|
||||
$(BUILD)/lib/libffi/include/ffi.h: $(TOP)/lib/libffi/configure
|
||||
mkdir -p $(BUILD)/lib/libffi; cd $(BUILD)/lib/libffi; \
|
||||
$(abspath $(TOP))/lib/libffi/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"; \
|
||||
$(abspath $(TOP))/lib/libffi/configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-shared --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
|
||||
|
||||
PREFIX = /usr/local
|
||||
|
Loading…
x
Reference in New Issue
Block a user