X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Ftools%2Fall%2Fxonotic.subr;h=9118c5054d6219e414be2692363a4028ae66ac3f;hp=3b9b393508e5435f144a59a756b567f0d640923b;hb=4331b691c0e4073402529c9de16fe57d38e3edfb;hpb=cd7078f2f7bd23108f92aed9f750f2749f65fb56 diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 3b9b3935..9118c505 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -83,11 +83,9 @@ case "$cmd" in esac done + TARGETS="sv-$debug sdl-$debug" if [ x"`uname`" = x"Darwin" ]; then - TARGETS="sv-$debug sdl-$debug" export CC="$CC -fno-reorder-blocks" - else - TARGETS="sv-$debug cl-$debug sdl-$debug" fi if [ $# -gt 0 ] && [ x"$1" = x"" ]; then @@ -104,9 +102,6 @@ case "$cmd" in sdl) TARGETS="$TARGETS sdl-$debug" ;; - glx|wgl) - TARGETS="$TARGETS cl-$debug" - ;; dedicated) TARGETS="$TARGETS sv-$debug" ;; @@ -322,16 +317,11 @@ case "$cmd" in client=-$1 shift ;; - sdl|glx) + sdl) USE_RLWRAP=no client=-$1 shift ;; - wgl) - USE_RLWRAP=no - client= - shift - ;; esac if ! [ -x "darkplaces/darkplaces$client" ]; then if [ -x "darkplaces/darkplaces$client.exe" ]; then @@ -383,9 +373,9 @@ case "$cmd" in fi ;; help) - $ECHO " $SELF compile [-c] [-qc] [-r|-p] [-0] [sdl|glx|wgl|dedicated]" + $ECHO " $SELF compile [-c] [-qc] [-r|-p] [-0] [sdl|dedicated]" $ECHO " $SELF update-maps" - $ECHO " $SELF run [sdl|glx|wgl|dedicated] options..." + $ECHO " $SELF run [sdl|dedicated] options..." $ECHO " $SELF compile-map mapname1 mapname2... (e.g. \"./all compile-map dance drain fuse\")" handled=false ;;