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/emacs-26.1-r1.ebuild
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/emacs-26.1-r1.ebuild')
-rw-r--r--app-editors/emacs/emacs-26.1-r1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-editors/emacs/emacs-26.1-r1.ebuild b/app-editors/emacs/emacs-26.1-r1.ebuild
index 6b3b71a29f66..97b7b1294852 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