Fix sim build
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 1 Apr 2015 17:27:34 +0000 (10:27 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 1 Apr 2015 17:27:43 +0000 (10:27 -0700)
* common/Make-common.in (CSEARCH): Remove $(ZLIBINC).
(BFD_LIB): Remove $(ZLIB).
(CONFIG_LIBS): Add $(ZLIB).
* ppc/Makefile.in (ZLIBINC): Removed.
(INCLUDES): Remove $(ZLIBINC).
(BFD_LIB): Remove $(ZLIB).

sim/ChangeLog
sim/common/Make-common.in
sim/ppc/Makefile.in

index c75527349ff5ad932b380880bb68d54ad5e8249b..abbeccf2267e269426c2d4b125cee7df131a7b0d 100644 (file)
@@ -1,3 +1,12 @@
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common/Make-common.in (CSEARCH): Remove $(ZLIBINC).
+       (BFD_LIB): Remove $(ZLIB).
+       (CONFIG_LIBS): Add $(ZLIB).
+       * ppc/Makefile.in (ZLIBINC): Removed.
+       (INCLUDES): Remove $(ZLIBINC).
+       (BFD_LIB): Remove $(ZLIB).
+
 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        * arm/configure: Regenerated.
index 345d1db8f422242f7166afc55d46fd3258e7c156..0b1f85a937ff690f4b8f7042d59142215604c72b 100644 (file)
@@ -248,21 +248,20 @@ CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \
   -I../../include -I$(srcroot)/include \
   -I../../bfd -I$(srcroot)/bfd \
   -I../../opcodes -I$(srcroot)/opcodes \
-  @INCINTL@ $(ZLIBINC)
+  @INCINTL@
 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 $(ZLIB)
+BFD_LIB = ../../bfd/libbfd.a
 @PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
 OPCODES_LIB = ../../opcodes/libopcodes.a
 LIBINTL = @LIBINTL@
 LIBINTL_DEP = @LIBINTL_DEP@
-CONFIG_LIBS = @LIBS@
+CONFIG_LIBS = @LIBS@ $(ZLIB)
 LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL_DEP) $(LIBIBERTY_LIB) \
        $(SIM_EXTRA_LIBDEPS)
 EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL) $(LIBIBERTY_LIB) \
index d3a9f16ffe17979d8528c80016e46a63aecc7857..964a7b3bf700d670e6ce16ab105c95580d8e1931 100644 (file)
@@ -152,19 +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) $(ZLIBINC)
+INCLUDES       = -I. -I$(srcdir) $(LIB_INCLUDES) $(BFD_INCLUDES) $(GDB_INCLUDES)
 
 LIBIBERTY_LIB  = ../../libiberty/libiberty.a
-BFD_LIB                = ../../bfd/libbfd.a $(ZLIB)
+BFD_LIB                = ../../bfd/libbfd.a
 ZLIB           = @zlibdir@ -lz
 
-# This is where we get zlib from.  zlibdir is -L../zlib and zlibinc is
-# -I../zlib, unless we were configured with --with-system-zlib, in which
-# case both are empty.
-ZLIB = @zlibdir@ -lz
-
 LIBINTL = @LIBINTL@
 LIBINTL_DEP = @LIBINTL_DEP@
 INTL_CFLAGS = @INCINTL@
This page took 0.026267 seconds and 4 git commands to generate.