diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-17 13:34:36 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-17 13:34:36 +0300 |
commit | 6cf4e270d951dccb5cabe70d865415d2628c7a4e (patch) | |
tree | 119cbca714d74244d1aa4e2241e59fbf8450d30d /debian/patches/136_bfd_pic.patch | |
parent | f0ef3d0a5cb2410eab2b1b412e7ec7ef94fa0dc6 (diff) | |
download | binutils-debian/2.33.1-2.tar.gz |
Import 2.33.1-2debian/2.33.1-2debian
Diffstat (limited to 'debian/patches/136_bfd_pic.patch')
-rw-r--r-- | debian/patches/136_bfd_pic.patch | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/debian/patches/136_bfd_pic.patch b/debian/patches/136_bfd_pic.patch index 9ac484f..f200034 100644 --- a/debian/patches/136_bfd_pic.patch +++ b/debian/patches/136_bfd_pic.patch @@ -1,29 +1,25 @@ Author: Balint Reczey <balint@balintreczey.hu> Description: Build libbfd with -fPIC to allow linking with PIE binaries -Index: b/bfd/Makefile.am -=================================================================== --- a/bfd/Makefile.am +++ b/bfd/Makefile.am -@@ -51,7 +51,7 @@ ZLIBINC = @zlibinc@ +@@ -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)"' + AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"' if PLUGINS bfdinclude_HEADERS += $(INCDIR)/plugin-api.h -Index: b/bfd/Makefile.in -=================================================================== --- a/bfd/Makefile.in +++ b/bfd/Makefile.in -@@ -388,7 +388,7 @@ libbfd_la_LDFLAGS = $(am__append_1) -rel +@@ -478,7 +478,7 @@ libbfd_la_LDFLAGS = $(am__append_1) -rel # 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@ - + AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"' @HDEFINES@ \ + @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(HAVEVECS) \ + @INCINTL@ $(am__empty) |