mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-05 19:07:43 +00:00
./all compile agl: set -arch i386
This commit is contained in:
parent
08b467d54d
commit
c35462de02
10
all
10
all
@ -704,6 +704,7 @@ case "$cmd" in
|
|||||||
cleanqc=false
|
cleanqc=false
|
||||||
compiled0=false
|
compiled0=false
|
||||||
debug=debug
|
debug=debug
|
||||||
|
snowleopardhack=false
|
||||||
if [ -z "$CC" ]; then
|
if [ -z "$CC" ]; then
|
||||||
export CC="gcc -DSUPPORTIPV6"
|
export CC="gcc -DSUPPORTIPV6"
|
||||||
fi
|
fi
|
||||||
@ -739,6 +740,7 @@ case "$cmd" in
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# AGL cannot be compiled on systems with a kernel > 10.x (Snow Leopard)
|
# AGL cannot be compiled on systems with a kernel > 10.x (Snow Leopard)
|
||||||
|
snowleopardhack=true
|
||||||
TARGETS="sv-$debug sdl-$debug"
|
TARGETS="sv-$debug sdl-$debug"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -760,7 +762,13 @@ case "$cmd" in
|
|||||||
sdl)
|
sdl)
|
||||||
TARGETS="$TARGETS sdl-debug"
|
TARGETS="$TARGETS sdl-debug"
|
||||||
;;
|
;;
|
||||||
glx|agl|wgl)
|
agl)
|
||||||
|
TARGETS="$TARGETS cl-debug"
|
||||||
|
if $snowleopardhack; then
|
||||||
|
export CC="$CC -arch i386"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
glx|wgl)
|
||||||
TARGETS="$TARGETS cl-debug"
|
TARGETS="$TARGETS cl-debug"
|
||||||
;;
|
;;
|
||||||
dedicated)
|
dedicated)
|
||||||
|
Loading…
Reference in New Issue
Block a user