diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-11 05:41:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-11 05:41:51 +0300 |
commit | 81b97b30afa0c72e5ff17162c7d1fa88dd6187fb (patch) | |
tree | eaab72100ad146b6cc8d883172517835d73e7e26 /tools/ci/scripts/winvars.sh | |
parent | b4b38bb98d95458442c745f30c0d697e2164fcd9 (diff) | |
download | plus-81b97b30afa0c72e5ff17162c7d1fa88dd6187fb.tar.gz plus-81b97b30afa0c72e5ff17162c7d1fa88dd6187fb.tar.bz2 plus-81b97b30afa0c72e5ff17162c7d1fa88dd6187fb.tar.xz plus-81b97b30afa0c72e5ff17162c7d1fa88dd6187fb.zip |
Add ci build with mingw-gcc5-shared-32 and SDL 1 libs.
Diffstat (limited to 'tools/ci/scripts/winvars.sh')
-rwxr-xr-x | tools/ci/scripts/winvars.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/ci/scripts/winvars.sh b/tools/ci/scripts/winvars.sh new file mode 100755 index 000000000..0b3281777 --- /dev/null +++ b/tools/ci/scripts/winvars.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +export PATH=/mxe/usr/bin:/mxe/usr/x86_64-unknown-linux-gnu/bin:/mxe/usr/${CROSS}/bin:$PATH + +export AR=${CROSS}-ar +export AS=${CROSS}-as +export LD=${CROSS}-ld +export NM=${CROSS}-nm +export RC=${CROSS}-windres +export WINDRES=${CROSS}-windres +export ADD2LINE=${CROSS}-addr2line +export STRIP=${CROSS}-strip +export CC=${CROSS}-gcc +export CXX=${CROSS}-g++ +export CXXCPP=${CROSS}-cpp +export CPP=${CROSS}-cpp +export RANLIB=${CROSS}-ranlib + +export PKG_CONFIG="/mxe/usr/bin/${CROSS}-pkg-config" +export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" |