aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/Makefile.in
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/ppc/Makefile.in
parent17a5da800dc59d3aaca5daece1a9374c8bc2d9f0 (diff)
downloadfsf-binutils-gdb-b5689863bdca11c6c86fe8d02b4f7330804f6883.zip
fsf-binutils-gdb-b5689863bdca11c6c86fe8d02b4f7330804f6883.tar.gz
fsf-binutils-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/ppc/Makefile.in')
-rw-r--r--sim/ppc/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 695b0f1..a45d4aa 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -105,7 +105,7 @@ NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FP
BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(INCLUDES) $(WARNING_CFLAGS)
LDFLAGS_FOR_BUILD =
-LIBS = @LIBS@
+LIBS = $(COMMON_LIBS) @LIBS@
COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS)
LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
@@ -147,7 +147,7 @@ INCLUDES = -I. -I$(srcdir) $(LIB_INCLUDES) $(BFD_INCLUDES) $(GDB_INCLUDES) -I../
LIBIBERTY_LIB = ../../libiberty/libiberty.a
BFD_LIB = ../../bfd/libbfd.a
-ZLIB = @zlibdir@ -lz
+ZLIB = $(zlibdir) -lz
LIBINTL = @LIBINTL@
LIBINTL_DEP = @LIBINTL_DEP@