aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorHyeonsik Song <blogcin@naver.com>2018-03-05 16:57:45 +0900
committerFelix Fietkau <nbd@nbd.name>2018-04-19 14:39:41 +0200
commit594dbaa2621cc3e5288c75f6d6165989f989068a (patch)
treeffa3f8a685849a68e895b95c101a5793e5061a7d /toolchain
parent4a243f7a09f802582f3afefc679fc7c7e0e6423e (diff)
downloadupstream-594dbaa2621cc3e5288c75f6d6165989f989068a.tar.gz
upstream-594dbaa2621cc3e5288c75f6d6165989f989068a.tar.bz2
upstream-594dbaa2621cc3e5288c75f6d6165989f989068a.zip
toolchain/glibc: unset LD_LIBRARY_PATH
Fix build error when use glibc Signed-off-by: Hyeonsik Song <blogcin@naver.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/glibc/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index b10e797de6..e10c7b1bc7 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -44,6 +44,7 @@ endif
# only -O2 tested by upstream changeset
# "Optimize i386 syscall inlining for GCC 5"
GLIBC_CONFIGURE:= \
+ unset LD_LIBRARY_PATH; \
BUILD_CC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="-O2 $(filter-out -Os,$(call qstrip,$(TARGET_CFLAGS)))" \