Add --sysroot to the compiler invocation

This makes sure the right sysroot is used, even if e.g. a global
system installation of x86_64-w64-mingw32-gcc exists under /usr.
This commit is contained in:
Martin Storsjö committed 2018-01-09 21:38:42 +02:00
1 parent 3aa5468357
commit 4fc70f4a23
2 files changed
+2 -6

No files matched your search

-5
View File
@@ -45,11 +45,6 @@ normally provides, in the branch `tools`.
If the toolchain is used in an environment that already have got a
normal GCC based MinGW toolchain with the same triplet prefix in
the same path, you may need to add
`--sysroot=path/to/prefix/x86_64-w64-mingw32` to the clang commands.
Status
------