mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
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>
This commit is contained in:
parent
2392a3909d
commit
00b68926a8
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user