aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-08-07 13:07:10 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 09:58:22 +0930
commit6d80d4cf716e4d8d066cba03915cc794dde65110 (patch)
treea79f26ad5f098c24add88f998fde7cef1955fc48 /Makefile.def
parent047b13da37d308778c91bfb744e8d695e56af77d (diff)
downloadgdb-6d80d4cf716e4d8d066cba03915cc794dde65110.zip
gdb-6d80d4cf716e4d8d066cba03915cc794dde65110.tar.gz
gdb-6d80d4cf716e4d8d066cba03915cc794dde65110.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> * Makefile.def: Do not build shared libffi.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def3
1 files changed, 2 insertions, 1 deletions
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; };