From 153389c6d4bcfa3afa128d25ada4d9c83f6e481b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 3 Oct 2010 14:56:22 +0200 Subject: [PATCH] enable v6 in all compile --- all | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/all b/all index 5be81134..c09c7161 100755 --- a/all +++ b/all @@ -520,11 +520,11 @@ case "$cmd" in done ;; compile) + if [ -z "$CC" ]; then + export CC="gcc -DSUPPORT_IPV6" + 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 -- 2.39.2