]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
temporarily slow down file conversion a bit (sleep 0.25) to keep server load down
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 5be8113455181b082316c35fe7fbdaf8a1362e5f..607db5634d0ca4de99e18b7aa918e97fa1922661 100755 (executable)
--- a/all
+++ b/all
@@ -520,11 +520,11 @@ case "$cmd" in
                done
                ;;
        compile)
+               if [ -z "$CC" ]; then
+                       export CC="gcc -DSUPPORTIPV6"
+               fi
                if [ -n "$WE_HATE_OUR_USERS" ]; then
                        TARGETS="sv-debug cl-debug"
-                       if [ -z "$CC" ]; then
-                               export CC=gcc
-                       fi
                elif [ x"`uname`" = x"Darwin" ]; then
                        case "`uname -r`" in
                                ?.*)
@@ -535,7 +535,7 @@ case "$cmd" in
                                        TARGETS="sv-debug sdl-debug"
                                        ;;
                        esac
-                       export CC="gcc -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 -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