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

View file

@ -44,6 +44,7 @@ endif
# only -O2 tested by upstream changeset # only -O2 tested by upstream changeset
# "Optimize i386 syscall inlining for GCC 5" # "Optimize i386 syscall inlining for GCC 5"
GLIBC_CONFIGURE:= \ GLIBC_CONFIGURE:= \
unset LD_LIBRARY_PATH; \
BUILD_CC="$(HOSTCC)" \ BUILD_CC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="-O2 $(filter-out -Os,$(call qstrip,$(TARGET_CFLAGS)))" \ CFLAGS="-O2 $(filter-out -Os,$(call qstrip,$(TARGET_CFLAGS)))" \