X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=inline;f=all;h=15704071284f798394e08ff5e1f241e4c23ce6ad;hb=6db2d8af66c0377aed2458521f806ea342c7822b;hp=93edeb54da7feda71f7ad559162d4f2c78481f74;hpb=7a2b750390b906e9e90828e527f2a8fdab891df6;p=xonotic%2Fxonotic.git diff --git a/all b/all index 93edeb54..15704071 100755 --- a/all +++ b/all @@ -801,6 +801,9 @@ case "$cmd" in -r) debug=release export CC="$CC -g -mtune=native -march=native" + if [ -n "$WE_HATE_OUR_USERS" ]; then + export CC="$CC -fno-common" + fi shift ;; *) @@ -821,7 +824,7 @@ case "$cmd" in TARGETS="sv-$debug sdl-$debug" ;; esac - export CC="$CC -I$PWD/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks/SDL.framework/Headers -F$PWD/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks" + export CC="$CC -fno-reorder-blocks -I$PWD/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks/SDL.framework/Headers -F$PWD/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks" else TARGETS="sv-$debug cl-$debug sdl-$debug" fi