summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/winmake1
-rwxr-xr-xbuild/winmake647
-rwxr-xr-xbuild/wintests1
-rwxr-xr-xbuild/wintests645
4 files changed, 14 insertions, 0 deletions
diff --git a/build/winmake b/build/winmake
index 6080eebb9..9b36957a1 100755
--- a/build/winmake
+++ b/build/winmake
@@ -1,5 +1,6 @@
#!/bin/bash
+export CROSS="i686-w64-mingw32.shared"
export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe"
source ./mingw5flags.sh
diff --git a/build/winmake64 b/build/winmake64
new file mode 100755
index 000000000..5f39d9750
--- /dev/null
+++ b/build/winmake64
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+export CROSS="x86_64-w64-mingw32.shared"
+export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe"
+source ./mingw5flags.sh
+
+./win_make
diff --git a/build/wintests b/build/wintests
index c9b194f5a..d46b7ac67 100755
--- a/build/wintests
+++ b/build/wintests
@@ -1,4 +1,5 @@
#!/bin/bash
+export CROSS="i686-w64-mingw32.shared"
export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe"
./win_tests
diff --git a/build/wintests64 b/build/wintests64
new file mode 100755
index 000000000..06e4f5cff
--- /dev/null
+++ b/build/wintests64
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+export CROSS="x86_64-w64-mingw32.shared"
+export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe"
+./win_tests