Build clang-target-wrapper.c with -municode for windows
This commit is contained in:
1 parent
ad47efba70
commit
a62ee10c2d
1 file changed
+5
-1
+5
-1
@@ -21,10 +21,14 @@ MINGW*)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ -n "$EXEEXT" ]; then
|
||||||
|
UNICODE=-municode
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p $PREFIX/bin
|
mkdir -p $PREFIX/bin
|
||||||
cp wrappers/*-wrapper.sh $PREFIX/bin
|
cp wrappers/*-wrapper.sh $PREFIX/bin
|
||||||
$CC wrappers/change-pe-arch.c -o $PREFIX/bin/change-pe-arch$EXEEXT
|
$CC wrappers/change-pe-arch.c -o $PREFIX/bin/change-pe-arch$EXEEXT
|
||||||
$CC wrappers/clang-target-wrapper.c -o $PREFIX/bin/clang-target-wrapper$EXEEXT -O2 -Wl,-s
|
$CC wrappers/clang-target-wrapper.c -o $PREFIX/bin/clang-target-wrapper$EXEEXT -O2 -Wl,-s $UNICODE
|
||||||
if [ -n "$EXEEXT" ]; then
|
if [ -n "$EXEEXT" ]; then
|
||||||
# For Windows, we should prefer the executable wrapper, which also works
|
# For Windows, we should prefer the executable wrapper, which also works
|
||||||
# when invoked from outside of MSYS.
|
# when invoked from outside of MSYS.
|
||||||
|
|||||||
Reference in new issue
Block a user