aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNils Petter Eftedal <nilspetter@eftedal.org>2015-04-07 11:04:39 +0200
committerNils Petter Eftedal <npe@icd.no>2015-04-08 09:36:57 +0200
commit00b68926a8a4575f0064ef0b01fd4a8d21dfb5ab (patch)
treeaafc4275620ed2525f4d66138321ec5a2ff4f069 /scripts
parent2392a3909d59fdbc20e1f5919b58cf1566bab281 (diff)
downloadcrosstool-ng-00b68926a8a4575f0064ef0b01fd4a8d21dfb5ab.tar.gz
crosstool-ng-00b68926a8a4575f0064ef0b01fd4a8d21dfb5ab.tar.bz2
crosstool-ng-00b68926a8a4575f0064ef0b01fd4a8d21dfb5ab.zip
mingw.sh: added with sysroot argument to mingw configure
The argument will prevent the prefix path from being added as an include path while building mingw. Having the prefix as an include path might cause all kinds of weird issues if prefix directory also exists on the build machine. Signed-off-by: Nils Petter Eftedal <nilspetter@eftedal.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/mingw.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh
index 2d364cb8..94b77053 100644
--- a/scripts/build/libc/mingw.sh
+++ b/scripts/build/libc/mingw.sh
@@ -89,6 +89,7 @@ do_libc() {
do_set_mingw_install_prefix
CT_DoExecLog CFG \
"${CT_SRC_DIR}/mingw-w64-v${CT_WINAPI_VERSION}/mingw-w64-crt/configure" \
+ --with-sysroot=${CT_SYSROOT_DIR} \
--prefix=${MINGW_INSTALL_PREFIX} \
--build=${CT_BUILD} \
--host=${CT_TARGET} \