run_imp: allow to specify mingw
authornotaz <notasas@gmail.com>
Fri, 20 Mar 2015 20:41:03 +0000 (22:41 +0200)
committernotaz <notasas@gmail.com>
Fri, 20 Mar 2015 20:41:03 +0000 (22:41 +0200)
run_imp.sh

index 7c542be..665b3f9 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-mingwb=i686-w64-mingw32
+# warning: i686-w64-mingw32- on Ubuntu 14.04
+# contains broken InterlockedDecrement
+test -n "$mingwb" || mingwb=i686-w64-mingw32
 
 target_s=$1
 src_asm=$2