瀏覽代碼

prevent distro default LPATH from interfering

Attach patch unsets LPATH flag (found configured in some custom host
distributions) to make OpenWRT compile its toolchain without any issues.
LPATH is used on some distros to define the linkers search path.

Signed-off-by: Tathagata Das <[email protected]>

SVN-Revision: 31203
John Crispin 13 年之前
父節點
當前提交
e8c19a56db
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/toplevel.mk

+ 3 - 0
include/toplevel.mk

@@ -33,6 +33,9 @@ unexport QUILT_PATCHES QUILT_PATCH_OPTS
 
 unexport C_INCLUDE_PATH
 
+# prevent distro default LPATH from interfering
+unexport LPATH
+
 # make sure that a predefined CFLAGS variable does not disturb packages
 export CFLAGS=