aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-18 01:58:00 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 01:01:21 -0400
commit07490bf81d2fc91676eb71b77e07f80f20fc1b54 (patch)
treeb73118abe465a0b848c4e0683e214c535c74fc88 /sim/common
parent47399e9c455b0a634e4c3597c8d9a292cc4b1b0c (diff)
downloadgdb-07490bf81d2fc91676eb71b77e07f80f20fc1b54.zip
gdb-07490bf81d2fc91676eb71b77e07f80f20fc1b54.tar.gz
gdb-07490bf81d2fc91676eb71b77e07f80f20fc1b54.tar.bz2
sim: unify various library 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/ChangeLog4
-rw-r--r--sim/common/Make-common.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index c177c39..dea920a 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-19 Mike Frysinger <vapier@gentoo.org>
+
+ * Make-common.in (CONFIG_LIBS): Add $(COMMON_LIBS).
+
2021-06-18 Mike Frysinger <vapier@gentoo.org>
* Make-common.in (WARN_CFLAGS, WERROR_CFLAGS): Delete.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 51e4ca7..245da2a 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -249,7 +249,7 @@ BFD_LIB = ../../bfd/libbfd.a
OPCODES_LIB = ../../opcodes/libopcodes.a
LIBINTL = @LIBINTL@
LIBINTL_DEP = @LIBINTL_DEP@
-CONFIG_LIBS = @LIBS@ $(ZLIB)
+CONFIG_LIBS = $(COMMON_LIBS) @LIBS@ $(ZLIB)
LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL_DEP) $(LIBIBERTY_LIB)
EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL) $(LIBIBERTY_LIB) \
$(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBDL) $(LIBGNU) $(LIBGNU_EXTRA_LIBS)