Browse Source

Remove optimizations on mingw until game exports is marked

pull/2/head
mittorn 6 years ago committed by GitHub
parent
commit
497ae6d269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/build_mingw_engine.sh

2
scripts/build_mingw_engine.sh

@ -6,7 +6,7 @@
cd $TRAVIS_BUILD_DIR cd $TRAVIS_BUILD_DIR
export CC="ccache i686-w64-mingw32-gcc" export CC="ccache i686-w64-mingw32-gcc"
export CXX="ccache i686-w64-mingw32-g++" export CXX="ccache i686-w64-mingw32-g++"
export CFLAGS="-static-libgcc -no-pthread -msse2 -msse -mmmx -march=pentium4m -mtune=pentium4m -Ofast -ffast-math -funsafe-math-optimizations -funsafe-loop-optimizations -g -gdwarf-2 -fomit-frame-pointer" # add sse2 to workaround mingw multiple definition of MemoryBarrier bug export CFLAGS="-static-libgcc -no-pthread -msse2 -O1 -g -gdwarf-2" # add sse2 to workaround mingw multiple definition of MemoryBarrier bug
export CXXFLAGS="-static-libgcc -static-libstdc++ -no-pthread -msse2" export CXXFLAGS="-static-libgcc -static-libstdc++ -no-pthread -msse2"
export LDFLAGS="-static-libgcc -static-libstdc++ -no-pthread -Wl,--allow-multiple-definition" # workaround some other mingw bugs export LDFLAGS="-static-libgcc -static-libstdc++ -no-pthread -Wl,--allow-multiple-definition" # workaround some other mingw bugs
export WINRC="i686-w64-mingw32-windres" export WINRC="i686-w64-mingw32-windres"

Loading…
Cancel
Save