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
commitd7618f3bcee34bc556e1a208a8b2f17f959f354d (patch)
tree6a753e39a404d817afa3b525617c9f8299ea91e1
parent3342cf9296e1ab33c8fc2cc8d5ca6c600c820d0d (diff)
downloadmaster-187ad058-d7618f3bcee34bc556e1a208a8b2f17f959f354d.tar.gz
master-187ad058-d7618f3bcee34bc556e1a208a8b2f17f959f354d.tar.bz2
master-187ad058-d7618f3bcee34bc556e1a208a8b2f17f959f354d.zip
[toolchain] define libc_cv_slibdir, fixes mips64 compilation (#5011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15526 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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) \