Fix compilation on alpha, fix by Steve Langasek (#4703)

This commit is contained in:
Thilo Schulz committed 2011-02-06 17:19:06 +00:00
1 parent f34b96b586
commit cef9b8ce62
1 file changed
+7 -2
+7 -2
View File
@@ -241,8 +241,8 @@ MKDIR=mkdir
ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
ifeq ($(ARCH),alpha)
ARCH=axp
ifeq ($(ARCH),axp)
ARCH=alpha
else
ifeq ($(ARCH),x86_64)
LIB=lib64
@@ -310,6 +310,11 @@ ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus
HAVE_VM_COMPILED=true
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