_bfd_pic
authorMatthias Klose <doko@debian.org>
Sun, 22 Oct 2017 20:41:34 +0000 (21:41 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 22 Oct 2017 20:41:34 +0000 (21:41 +0100)
Gbp-Pq: Name 136_bfd_pic.patch

bfd/Makefile.am
bfd/Makefile.in

index 3824a8d99e4ce4c1529ef0228dd4df61238434cf..d78e8293cae85c906952c9bf3a4ce1e9e4965add 100644 (file)
@@ -51,7 +51,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 117664098de9c1973ea390bce096f1edefbc8a3a..ce344506bf39dfd6761acb053fe8cc0e255fc064 100644 (file)
@@ -388,7 +388,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)"'
 @PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@