diff options
| author | Juan Francisco Cantero Hurtado <iam@juanfra.info> | 2023-01-01 00:29:35 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-01-19 15:24:43 +1100 |
| commit | 720f2cfba9532879625d5418b04ae21424cb3639 (patch) | |
| tree | 268ed4062a3d97edd3e9c8bd6152f6511ff3f45d | |
| parent | 4eb7063608c93418f4c4b24df6c029e6314256a0 (diff) | |
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.
| -rw-r--r-- | ports/unix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile index cd18a6ed1..8e9094b40 100644 --- a/ports/unix/Makefile +++ b/ports/unix/Makefile @@ -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 |
