summaryrefslogtreecommitdiff
path: root/nightly/buildwindows.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nightly/buildwindows.sh')
-rwxr-xr-xnightly/buildwindows.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nightly/buildwindows.sh b/nightly/buildwindows.sh
index 3cb9d6607..1d0acabf8 100755
--- a/nightly/buildwindows.sh
+++ b/nightly/buildwindows.sh
@@ -4,7 +4,8 @@ dir=`pwd`
cd ..
export PATH=/usr/i586-mingw32msvc/bin:$PATH
-CXXFLAGS="-Wall -g0 -O3" cmake -DCMAKE_TOOLCHAIN_FILE=./build/toolchain.nightly .
+export CXXFLAGS="-Wall -g0 -O3"
+cmake -DCMAKE_TOOLCHAIN_FILE=./build/toolchain.nightly .
result=$?
if [ "$result" != 0 ]; then
exit $result