From 594dbaa2621cc3e5288c75f6d6165989f989068a Mon Sep 17 00:00:00 2001 From: Hyeonsik Song Date: Mon, 5 Mar 2018 16:57:45 +0900 Subject: [PATCH] toolchain/glibc: unset LD_LIBRARY_PATH Fix build error when use glibc Signed-off-by: Hyeonsik Song --- toolchain/glibc/common.mk | 1 + 1 file changed, 1 insertion(+) 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)))" \ -- 2.30.2