From: Iain Sandoe Date: Mon, 7 Aug 2023 11:07:10 +0000 (+0200) Subject: configure: Do not build the ununsed libffi shared library. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d80d4cf716e4d8d066cba03915cc794dde65110;p=binutils-gdb.git 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 * Makefile.def: Do not build shared libffi. --- diff --git a/Makefile.def b/Makefile.def index 2f51f83b043..1156d2bdf23 100644 --- a/Makefile.def +++ b/Makefile.def @@ -187,7 +187,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; }; target_modules = { module= rda; }; target_modules = { module= libada; };