aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-31 23:32:49 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-01 01:07:57 -0400
commitaadc9410ba24ecf777fcc515afda69ef94d74248 (patch)
tree63668585495fda69814b48924081f131469f57a6 /sim/ppc/Makefile.in
parent4a0bc59ef6e01733bb70950ad546c66e4c3317ea (diff)
downloadgdb-aadc9410ba24ecf777fcc515afda69ef94d74248.zip
gdb-aadc9410ba24ecf777fcc515afda69ef94d74248.tar.gz
gdb-aadc9410ba24ecf777fcc515afda69ef94d74248.tar.bz2
sim: update zlib handling
With zlib being mandatory, and the updated m4 configs, we need to regen and use the new settings w/bfd to avoid linkage errors.
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r--sim/ppc/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 740bdb0..92a5812 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -152,11 +152,13 @@ MAKEOVERRIDES=
LIB_INCLUDES = -I$(srcdir)/../../include
BFD_INCLUDES = -I../../bfd -I$(srcdir)/../../bfd
GDB_INCLUDES = -I../../gdb -I$(srcdir)/../../gdb -I$(srcdir)/../../gdb/config
+ZLIBINC = @zlibinc@
-INCLUDES = -I. -I$(srcdir) $(LIB_INCLUDES) $(BFD_INCLUDES) $(GDB_INCLUDES)
+INCLUDES = -I. -I$(srcdir) $(LIB_INCLUDES) $(BFD_INCLUDES) $(GDB_INCLUDES) $(ZLIBINC)
LIBIBERTY_LIB = ../../libiberty/libiberty.a
-BFD_LIB = ../../bfd/libbfd.a
+BFD_LIB = ../../bfd/libbfd.a $(ZLIB)
+ZLIB = @zlibdir@ -lz
LIBINTL = @LIBINTL@
LIBINTL_DEP = @LIBINTL_DEP@