From d362ba8238f9fea5fc48c23da31a1e1360b33092 Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 8 Jan 2015 19:34:37 +0000 Subject: [PATCH] Now that SSE is off, we can also kill -mstackrealign. GCC bug worked around! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12130 d7cf8633-e32d-0410-b094-e92efae38249 --- .travis-script-xonotic.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis-script-xonotic.sh b/.travis-script-xonotic.sh index 9f0e9e49..d064d99d 100755 --- a/.travis-script-xonotic.sh +++ b/.travis-script-xonotic.sh @@ -55,14 +55,12 @@ for os in "$@"; do ;; win32) chroot= - # -mstackrealign works around SDL2-2.0.3 issue that stack is not 16 bytes aligned, breaking SSE. - # Please kill once SDL comes to its senses. makeflags='STRIP=: D3D=1 DP_MAKE_TARGET=mingw UNAME=MINGW32 WIN32RELEASE=1 - CC="i686-w64-mingw32-gcc -g1 -Wl,--dynamicbase -Wl,--nxcompat -mstackrealign -I../../../${deps}/include -L../../../${deps}/lib -DUSE_WSPIAPI_H -DSUPPORTIPV6" + CC="i686-w64-mingw32-gcc -g1 -Wl,--dynamicbase -Wl,--nxcompat -I../../../${deps}/include -L../../../${deps}/lib -DUSE_WSPIAPI_H -DSUPPORTIPV6" CPUOPTIMIZATIONS="-march=pentium2 -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math" WINDRES="i686-w64-mingw32-windres" SDL_CONFIG="../../../${deps}/bin/sdl2-config" -- 2.39.2