aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-30 20:21:57 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-30 20:21:57 +0000
commit3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db (patch)
treeb664128905b9ebc03a3065259cca759d9eb478d9
parentfc521bf5413f9620196ba0cc57bb0f5c904375cb (diff)
downloadupstream-3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db.tar.gz
upstream-3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db.tar.bz2
upstream-3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db.zip
define libc_cv_slibdir, fixes mips64 compilation (#5011)
SVN-Revision: 15526
-rw-r--r--toolchain/eglibc/Makefile1
-rw-r--r--toolchain/glibc/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index dff7e48528..d237f4e123 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -51,6 +51,7 @@ EGLIBC_CONFIGURE:= \
BUILD_CC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(EGLIBC_CFLAGS)" \
+ libc_cv_slibdir="/lib" \
$(HOST_BUILD_DIR)/libc/configure \
--prefix=/usr \
--build=$(GNU_HOST_NAME) \
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 1f715b9d45..229f20649e 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -52,6 +52,7 @@ GLIBC_CONFIGURE:= \
libc_cv_forced_unwind=yes \
libc_cv_c_cleanup=yes \
libc_cv_386_tls=yes \
+ libc_cv_slibdir="/lib" \
$(HOST_BUILD_DIR)/configure \
--prefix=/usr \
--build=$(GNU_HOST_NAME) \