aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-18 02:03:44 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 01:08:39 -0400
commitb5689863bdca11c6c86fe8d02b4f7330804f6883 (patch)
tree476345a0c215c29f8aa171f46be48e65ecb78602 /sim/common
parent17a5da800dc59d3aaca5daece1a9374c8bc2d9f0 (diff)
downloadgdb-b5689863bdca11c6c86fe8d02b4f7330804f6883.zip
gdb-b5689863bdca11c6c86fe8d02b4f7330804f6883.tar.gz
gdb-b5689863bdca11c6c86fe8d02b4f7330804f6883.tar.bz2
sim: unify bfd library dependency testing logic
Move these options up to the common dir so we only test & export them once across all ports.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/Make-common.in4
2 files changed, 7 insertions, 3 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index dea920a..10717fc 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,11 @@
2021-06-19 Mike Frysinger <vapier@gentoo.org>
+ * Make-common.in (lt_cv_dlopen_libs): Delete.
+ (@PLUGINS_TRUE@LIBDL): Likewise.
+ (ZLIB): Use $(zlibdir).
+
+2021-06-19 Mike Frysinger <vapier@gentoo.org>
+
* Make-common.in (CONFIG_LIBS): Add $(COMMON_LIBS).
2021-06-18 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 245da2a..2258475 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -67,7 +67,6 @@ man1dir = $(mandir)/man1
infodir = @infodir@
includedir = @includedir@
-lt_cv_dlopen_libs = @lt_cv_dlopen_libs@
# This can be referenced by the gettext configuration code.
top_builddir = ..
@@ -242,10 +241,9 @@ BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(CSEARCH)
COMMON_DEP_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(SIM_EXTRA_CFLAGS)
-ZLIB = @zlibdir@ -lz
+ZLIB = $(zlibdir) -lz
LIBIBERTY_LIB = ../../libiberty/libiberty.a
BFD_LIB = ../../bfd/libbfd.a
-@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
OPCODES_LIB = ../../opcodes/libopcodes.a
LIBINTL = @LIBINTL@
LIBINTL_DEP = @LIBINTL_DEP@