Implement clang-target-wrapper as an executable for windows

This allows non-msys build systems to use the triplet prefixed
compiler frontends on windows.

Keep the old shell script version as well, for easier hackability
on unix platforms.
This commit is contained in:
Martin Storsjö committed 2018-10-03 22:48:36 +03:00
1 parent 9f3a4a25f2
commit ad47efba70
3 files changed
+171 -1

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ if [ -n "$CCACHE" ]; then
CCACHE=ccache
fi
# If changing this wrapper, change clang-target-wrapper.c accordingly.
CLANG="$DIR/clang"
FLAGS=""
case $EXE in