]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
need -fno-reorder-blocks on Darwin
authorRudolf Polzer <divVerent@xonotic.org>
Sun, 14 Nov 2010 15:10:43 +0000 (16:10 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Sun, 14 Nov 2010 15:10:43 +0000 (16:10 +0100)
all

diff --git a/all b/all
index ec4ad52e74f475be21ed748f50b1e9796b68335d..15704071284f798394e08ff5e1f241e4c23ce6ad 100755 (executable)
--- a/all
+++ b/all
@@ -824,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