From cef9b8ce6230ce193e220f1209b74770c1473757 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sun, 6 Feb 2011 17:19:06 +0000 Subject: [PATCH] Fix compilation on alpha, fix by Steve Langasek (#4703) --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9bd03a7a..bbc5d247 100644 --- a/Makefile +++ b/Makefile @@ -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