aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.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/common/Make-common.in
parent4a0bc59ef6e01733bb70950ad546c66e4c3317ea (diff)
downloadfsf-binutils-gdb-aadc9410ba24ecf777fcc515afda69ef94d74248.zip
fsf-binutils-gdb-aadc9410ba24ecf777fcc515afda69ef94d74248.tar.gz
fsf-binutils-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/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 734461a..345d1db 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -248,14 +248,16 @@ CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \
-I../../include -I$(srcroot)/include \
-I../../bfd -I$(srcroot)/bfd \
-I../../opcodes -I$(srcroot)/opcodes \
- @INCINTL@
+ @INCINTL@ $(ZLIBINC)
ALL_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(CFLAGS)
BUILD_CFLAGS = -g -O $(CSEARCH)
COMMON_DEP_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH)
+ZLIB = @zlibdir@ -lz
+ZLIBINC = @zlibinc@
LIBIBERTY_LIB = ../../libiberty/libiberty.a
-BFD_LIB = ../../bfd/libbfd.a
+BFD_LIB = ../../bfd/libbfd.a $(ZLIB)
@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
OPCODES_LIB = ../../opcodes/libopcodes.a
LIBINTL = @LIBINTL@