summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db.zip
mtk-20170518-3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db.tar.gz
mtk-20170518-3e0e015a0d1b6a2e0026dd689f4ce495e5a2d5db.tar.bz2
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 dff7e48..d237f4e 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 1f715b9..229f206 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) \