mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
Fix compilation on alpha, fix by Steve Langasek (#4703)
This commit is contained in:
parent
f34b96b586
commit
cef9b8ce62
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -241,8 +241,8 @@ MKDIR=mkdir
|
||||||
|
|
||||||
ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
|
ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
|
||||||
|
|
||||||
ifeq ($(ARCH),alpha)
|
ifeq ($(ARCH),axp)
|
||||||
ARCH=axp
|
ARCH=alpha
|
||||||
else
|
else
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
LIB=lib64
|
LIB=lib64
|
||||||
|
@ -310,6 +310,11 @@ ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
|
||||||
OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus
|
OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus
|
||||||
HAVE_VM_COMPILED=true
|
HAVE_VM_COMPILED=true
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ARCH),alpha)
|
||||||
|
# According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410555
|
||||||
|
# -ffast-math will cause the client to die with SIGFPE on Alpha
|
||||||
|
OPTIMIZE = $(OPTIMIZEVM)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue