_bfd_pic
authorMatthias Klose <doko@debian.org>
Wed, 27 Feb 2019 21:30:21 +0000 (21:30 +0000)
committerMatthias Klose <doko@debian.org>
Wed, 27 Feb 2019 21:30:21 +0000 (21:30 +0000)
Gbp-Pq: Name 136_bfd_pic.patch

bfd/Makefile.am
bfd/Makefile.in

index eb8b58fe6141165b98b0e5e35a05499816637136..a51288515751cabc21d1c358a2a12a13aff73645 100644 (file)
@@ -52,7 +52,7 @@ ZLIBINC = @zlibinc@
 
 WARN_CFLAGS = @WARN_CFLAGS@
 NO_WERROR = @NO_WERROR@
-AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
+AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC) -fPIC
 AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
 if PLUGINS
 bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
index 24a52713e88e2700574fcf2de540f12b781d8490..734d68d3ec169e269e35df25898b7929ac32ee05 100644 (file)
@@ -477,7 +477,7 @@ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
 # case both are empty.
 ZLIB = @zlibdir@ -lz
 ZLIBINC = @zlibinc@
-AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
+AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC) -fPIC
 AM_CPPFLAGS = -DBINDIR='"$(bindir)"' @HDEFINES@ @COREFLAG@ @TDEFINES@ \
        $(CSEARCH) $(CSWITCHES) $(HAVEVECS) @INCINTL@
 @PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@