|
|
@ -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" |
|
|
|