diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2022-12-30 12:03:08 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2022-12-31 17:51:47 +0000 |
commit | 70a5e6280d8c451cf2a55a03ac83f62e3ae7f6da (patch) | |
tree | 4e850fec2aac8ef7490b6d3018dd9ffdd076d99a | |
parent | 2d8c2fdc299034c85a0abfd7da31168d02a41d32 (diff) | |
download | gcc-70a5e6280d8c451cf2a55a03ac83f62e3ae7f6da.zip gcc-70a5e6280d8c451cf2a55a03ac83f62e3ae7f6da.tar.gz gcc-70a5e6280d8c451cf2a55a03ac83f62e3ae7f6da.tar.bz2 |
configure: Do not build the ununsed libffi shared library.
We do not use the shared libffi libraray, nor do we install it.
However, on at least Darwin, the shared version will be picked
up for testing, so it is preferrable not to build it.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
ChangeLog:
* Makefile.def: Do not build shared libffi.
* Makefile.in: Regenerate.
-rw-r--r-- | Makefile.def | 3 | ||||
-rw-r--r-- | Makefile.in | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.def b/Makefile.def index 86d15f1..35e994e 100644 --- a/Makefile.def +++ b/Makefile.def @@ -181,7 +181,8 @@ target_modules = { module= libtermcap; no_check=true; missing=maintainer-clean; }; target_modules = { module= winsup; }; target_modules = { module= libgloss; no_check=true; }; -target_modules = { module= libffi; no_install=true; }; +target_modules = { module= libffi; no_install=true; + extra_configure_flags='--disable-shared --with-pic'; }; target_modules = { module= zlib; bootstrap=true; }; target_modules = { module= rda; }; target_modules = { module= libada; }; diff --git a/Makefile.in b/Makefile.in index d66e620..06a9398 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55467,7 +55467,7 @@ configure-target-libffi: $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} \ + --target=${target_alias} --disable-shared --with-pic \ || exit 1 @endif target-libffi |