summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-07-08 19:51:02 +0200
committerUlrich Müller <ulm@gentoo.org>2018-07-08 19:51:02 +0200
commit49c34d5b09510362b56b4a92f168a2b3a56fc45c (patch)
tree3b6eee1540ec8408468bce4f18e6e0f2ff84ddb0 /app-editors/emacs
parentsys-auth/libfprint: add ~arm, bug #660718 (diff)
downloadgentoo-49c34d5b09510362b56b4a92f168a2b3a56fc45c.tar.gz
gentoo-49c34d5b09510362b56b4a92f168a2b3a56fc45c.tar.bz2
gentoo-49c34d5b09510362b56b4a92f168a2b3a56fc45c.zip
app-editors/emacs: Fix floating point exception on alpha.
Bug: https://debbugs.gnu.org/32086 Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/emacs-23.4-r17.ebuild3
-rw-r--r--app-editors/emacs/emacs-24.5-r5.ebuild3
-rw-r--r--app-editors/emacs/emacs-25.3-r4.ebuild3
-rw-r--r--app-editors/emacs/emacs-26.1-r1.ebuild3
4 files changed, 12 insertions, 0 deletions
diff --git a/app-editors/emacs/emacs-23.4-r17.ebuild b/app-editors/emacs/emacs-23.4-r17.ebuild
index a2456d6cbd3..99eac1719fd 100644
--- a/app-editors/emacs/emacs-23.4-r17.ebuild
+++ b/app-editors/emacs/emacs-23.4-r17.ebuild
@@ -134,6 +134,9 @@ src_configure() {
replace-flags "-O[3-9]" -O2
fi
+ # Don't trigger a floating point exception for NaNs on alpha
+ use alpha && append-flags -mieee
+
local myconf
if use alsa && ! use sound; then
diff --git a/app-editors/emacs/emacs-24.5-r5.ebuild b/app-editors/emacs/emacs-24.5-r5.ebuild
index d1f8e3fe6d6..d06860523d9 100644
--- a/app-editors/emacs/emacs-24.5-r5.ebuild
+++ b/app-editors/emacs/emacs-24.5-r5.ebuild
@@ -125,6 +125,9 @@ src_configure() {
replace-flags "-O[3-9]" -O2
fi
+ # Don't trigger a floating point exception for NaNs on alpha
+ use alpha && append-flags -mieee
+
local myconf
if use alsa; then
diff --git a/app-editors/emacs/emacs-25.3-r4.ebuild b/app-editors/emacs/emacs-25.3-r4.ebuild
index c6d29908c41..6911c651218 100644
--- a/app-editors/emacs/emacs-25.3-r4.ebuild
+++ b/app-editors/emacs/emacs-25.3-r4.ebuild
@@ -127,6 +127,9 @@ src_configure() {
replace-flags "-O[3-9]" -O2
fi
+ # Don't trigger a floating point exception for NaNs on alpha
+ use alpha && append-flags -mieee
+
local myconf
if use alsa; then
diff --git a/app-editors/emacs/emacs-26.1-r1.ebuild b/app-editors/emacs/emacs-26.1-r1.ebuild
index 6b3b71a29f6..97b7b129485 100644
--- a/app-editors/emacs/emacs-26.1-r1.ebuild
+++ b/app-editors/emacs/emacs-26.1-r1.ebuild
@@ -137,6 +137,9 @@ src_configure() {
replace-flags "-O[3-9]" -O2
fi
+ # Don't trigger a floating point exception for NaNs on alpha
+ use alpha && append-flags -mieee
+
local myconf
if use alsa; then