toolchain/glibc: unset LD_LIBRARY_PATH

Fix build error when use glibc

Signed-off-by: Hyeonsik Song <blogcin@naver.com>
This commit is contained in:
Hyeonsik Song 2018-03-05 16:57:45 +09:00 committed by Felix Fietkau
parent 4a243f7a09
commit 594dbaa262
1 changed files with 1 additions and 0 deletions

View File

@ -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)))" \