diff options
author | Dan Gudmundsson <[email protected]> | 2015-09-28 12:34:53 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-10-22 14:17:57 +0200 |
commit | 4a9f688b804688ff95e256d3412ca932b9972d8a (patch) | |
tree | e3691d22889979a0c5835ab5ca4ef0efb198f73f /erts/etc/win32/msys_tools/vc/emu_cc.sh | |
parent | 1523be48ab4071b158412f4b06fe9c8d6ba3e73c (diff) | |
download | otp-4a9f688b804688ff95e256d3412ca932b9972d8a.tar.gz otp-4a9f688b804688ff95e256d3412ca932b9972d8a.tar.bz2 otp-4a9f688b804688ff95e256d3412ca932b9972d8a.zip |
erts: Detect and build on MSYS2 for windows
Allow building win32 on MSYS2.
Avoid msys2 path conversion which does not work.
And print the real windows command when something fails.
Diffstat (limited to 'erts/etc/win32/msys_tools/vc/emu_cc.sh')
-rw-r--r-- | erts/etc/win32/msys_tools/vc/emu_cc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/etc/win32/msys_tools/vc/emu_cc.sh b/erts/etc/win32/msys_tools/vc/emu_cc.sh index 01f75b2468..10d59214ea 100644 --- a/erts/etc/win32/msys_tools/vc/emu_cc.sh +++ b/erts/etc/win32/msys_tools/vc/emu_cc.sh @@ -29,6 +29,7 @@ WTOOLDIR0=`win2msys_path.sh "$TOOLDIR"` WTOOLDIR=`cmd //C echo $WTOOLDIR0` # Do primitive 'make' newer_exe=`find $TOOLDIR -newer $COFFIX.c -name coffix.exe -print` +export MSYS2_ARG_CONV_EXCL="-FeC" if [ -z $newer_exe ]; then echo recompiling $COFFIX.exe cl.exe -Fe${WTOOLDIR}/coffix.exe ${WTOOLDIR}/coffix.c |