Added -O3 to non-i386 release CFLAGS, don't assume arch is i386 just b/c

it's not alpha.  qw_server should build on most archs now, qw_client and
uquake apparently have endian issues still.  (Not to mention the lack of
software renderers for anything but i386...)
This commit is contained in:
Joseph Carter 1999-12-28 07:11:16 +00:00
parent e49dfa37d3
commit 7de13ab69f
3 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ VERSION=2.40
ifneq (,$(findstring alpha,$(shell uname -m)))
ARCH=axp
else
ARCH=i386
$(shell uname -m)
endif
PROJECT_DIR=..
@ -33,7 +33,7 @@ RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
-malign-jumps=2 -malign-functions=2
else
RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \
RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations
endif
GL_CFLAGS=-DGLQUAKE -I$(X11_DIR)/include -I/usr/include/glide

View file

@ -7,7 +7,7 @@ VERSION=2.40
ifneq (,$(findstring alpha,$(shell uname -m)))
ARCH=axp
else
ARCH=i386
$(shell uname -m)
endif
PROJECT_DIR=..
@ -34,7 +34,7 @@ RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
-malign-jumps=2 -malign-functions=2
else
RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \
RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations
endif

View file

@ -7,7 +7,7 @@ VERSION=0.1.0
ifneq (,$(findstring alpha,$(shell uname -m)))
ARCH=axp
else
ARCH=i386
$(shell uname -m)
endif
PROJECT_DIR=..
@ -32,7 +32,7 @@ RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
-malign-jumps=2 -malign-functions=2
else
RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \
RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations
endif
GL_CFLAGS=-DGLQUAKE -I$(X11_DIR)/include -I/usr/include/glide