From 6cf4e270d951dccb5cabe70d865415d2628c7a4e Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 17 Nov 2019 13:34:36 +0300 Subject: Import 2.33.1-2 --- debian/patches/136_bfd_pic.patch | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'debian/patches/136_bfd_pic.patch') 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 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) -- cgit v1.2.3