summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas@biessmann.de>2012-02-12 13:10:28 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-03-24 13:39:13 +0100
commitc15373506b94a01f719f480bf07e4cbe11bc2d9a (patch)
tree929cb8b556d7948d4f00d014c08c87a9f702bdd3
parent89bb99e7b0727cc9dc865eeb72626b332da6ec86 (diff)
downloadOSELAS.Toolchain-c15373506b94a01f719f480bf07e4cbe11bc2d9a.tar.gz
OSELAS.Toolchain-c15373506b94a01f719f480bf07e4cbe11bc2d9a.tar.xz
glibc: force slibdir to /lib
Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/glibc-crt.make4
-rw-r--r--rules/glibc-first.make1
-rw-r--r--rules/glibc.make3
3 files changed, 6 insertions, 2 deletions
diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make
index f597787..93ec9c5 100644
--- a/rules/glibc-crt.make
+++ b/rules/glibc-crt.make
@@ -46,8 +46,8 @@ GLIBC_CRT_ENV := \
ac_cv_path_GREP=grep \
ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE) \
libc_cv_c_cleanup=yes \
- libc_cv_forced_unwind=yes
-
+ libc_cv_forced_unwind=yes \
+ libc_cv_slibdir='/lib'
#
# autoconf
diff --git a/rules/glibc-first.make b/rules/glibc-first.make
index caeaa11..1a6523a 100644
--- a/rules/glibc-first.make
+++ b/rules/glibc-first.make
@@ -49,6 +49,7 @@ GLIBC_FIRST_ENV := \
libc_cv_c_cleanup=yes \
libc_cv_forced_unwind=yes \
libc_cv_fpie=yes \
+ libc_cv_slibdir='/lib' \
libc_cv_ssp=yes \
libc_cv_visibility_attribute=yes \
libc_cv_broken_visibility_attribute=no \
diff --git a/rules/glibc.make b/rules/glibc.make
index 1e80b9a..70ca644 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -73,6 +73,9 @@ GLIBC_PATH := PATH=$(CROSS_PATH)
GLIBC_ENV := \
CC=$(CROSS_CC) \
BUILD_CC=$(HOSTCC) \
+ \
+ libc_cv_slibdir='/lib' \
+ \
ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE)