summaryrefslogtreecommitdiff
path: root/build/winmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-13 17:30:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-13 17:39:18 +0300
commit1644bda7305ac2cd24d605da42602d0d63a14cc0 (patch)
treecabcddd08ab9523241a77e85a06e0fc5e240cc80 /build/winmake
parent9abb84a68de92f8cd78f95821a7238d86f1169dd (diff)
downloadmanaplus-1644bda7305ac2cd24d605da42602d0d63a14cc0.tar.gz
manaplus-1644bda7305ac2cd24d605da42602d0d63a14cc0.tar.bz2
manaplus-1644bda7305ac2cd24d605da42602d0d63a14cc0.tar.xz
manaplus-1644bda7305ac2cd24d605da42602d0d63a14cc0.zip
Split mingw build scripts. With flags and without flags.
Diffstat (limited to 'build/winmake')
-rwxr-xr-xbuild/winmake16
1 files changed, 2 insertions, 14 deletions
diff --git a/build/winmake b/build/winmake
index 353ed22a8..6080eebb9 100755
--- a/build/winmake
+++ b/build/winmake
@@ -1,18 +1,6 @@
#!/bin/bash
-source ./winvars.sh
+export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe"
source ./mingw5flags.sh
-mkdir tmp
-cd ..
-
-dir=`pwd`
-
-
-autoreconf -i
-cd build/tmp
-../../configure \
---host=${CROSS} \
---enable-werror
-
-make -j9 2>../make2.log
+./win_make