summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-05-20 21:43:23 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-05-20 21:43:26 +0200
commitad2f44c22df17827511347838d0ea37f40486a50 (patch)
tree05244968a5bac07bf3de75fa3844c90d45028a20
parent1fe360476e690c4ee5fd61248ac5b1e256d83064 (diff)
downloadptxdist-ad2f44c22df17827511347838d0ea37f40486a50.tar.gz
ptxdist-ad2f44c22df17827511347838d0ea37f40486a50.tar.xz
gdb: make sure libbfd.a is not installed into sysroot/usr/lib
Packages that need libbfd depend on binutils. Installing it into a different directory ensures that the two versions don't conflict. This is important because only libbfd from binutils is built correctly to be linked into PIE executables. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/gdb.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/gdb.make b/rules/gdb.make
index e7c43d685..5831fb35a 100644
--- a/rules/gdb.make
+++ b/rules/gdb.make
@@ -53,6 +53,7 @@ endif
#
GDB_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
+ --libdir=/usr/lib/gdb \
--target=$(PTXCONF_GNU_TARGET) \
--with-build-sysroot=$(SYSROOT) \
--disable-werror