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-Tag: upstream/2.42~1956 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d80d4cf716e4d8d066cba03915cc794dde65110;p=platform%2Fupstream%2Fbinutils.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 2f51f83..1156d2b 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; };