app-editors/emacs: Fix floating point exception on alpha.
authorUlrich Müller <ulm@gentoo.org>
Sun, 8 Jul 2018 17:51:02 +0000 (19:51 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sun, 8 Jul 2018 17:51:02 +0000 (19:51 +0200)
Bug: https://debbugs.gnu.org/32086
Package-Manager: Portage-2.3.41, Repoman-2.3.9

app-editors/emacs/emacs-23.4-r17.ebuild
app-editors/emacs/emacs-24.5-r5.ebuild
app-editors/emacs/emacs-25.3-r4.ebuild
app-editors/emacs/emacs-26.1-r1.ebuild

index a2456d6cbd3b5f26ed3e0fbd9d7061cf5623bb0c..99eac1719fddf931ee1f2de80162365c09ae1452 100644 (file)
@@ -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
index d1f8e3fe6d66c96c78eb34548c8b1f87c29ebe29..d06860523d920c716b208cc2f0eb2d5097801fa9 100644 (file)
@@ -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
index c6d29908c41b272492aae8308936f3cb69ac209c..6911c651218c13024d098777769290fc56ad574d 100644 (file)
@@ -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
index 6b3b71a29f66b615ecee8bf7d091be83c5729c6d..97b7b12948528f27d26ea8b24d46fd3a4a8158a2 100644 (file)
@@ -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