summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorIsmael Luceno2021-03-14 03:16:01 +0100
committerIsmael Luceno2021-03-14 03:29:11 +0100
commit2255cfa5caff597cd3599c316d1fea6107bba012 (patch)
treeccba216ee9e84693d0ce52392b05d2a721b0d3b3 /editors
parent0033077f7363bd803a9c8d6cfadd035551efdd17 (diff)
emacs: Remove -ffast-math from CFLAGS
Diffstat (limited to 'editors')
-rwxr-xr-xeditors/emacs/BUILD4
-rw-r--r--editors/emacs/HISTORY3
2 files changed, 6 insertions, 1 deletions
diff --git a/editors/emacs/BUILD b/editors/emacs/BUILD
index 763e1881ff..f8342a418f 100755
--- a/editors/emacs/BUILD
+++ b/editors/emacs/BUILD
@@ -10,7 +10,9 @@ export LDFLAGS="${LDFLAGS/-z combreloc/}" &&
export LDFLAGS="${LDFLAGS//-Wl,-O1/}" &&
# XXX Causes a segfault during the bootstrapping
-CFLAGS="${CFLAGS/-ftree-loop-if-convert-stores}" &&
+CFLAGS="${CFLAGS//-ftree-loop-if-convert-stores}" &&
+# XXX Emacs 27.1 fails to build if restricted to finite math
+CFLAGS="${CFLAGS//-ffast-math}" &&
OPTS="${OPTS} --with-x-toolkit=${EMACS_XTOOLKIT} ${EMACS_OPTS}" &&
diff --git a/editors/emacs/HISTORY b/editors/emacs/HISTORY
index 040ee7c884..b672acaac1 100644
--- a/editors/emacs/HISTORY
+++ b/editors/emacs/HISTORY
@@ -1,3 +1,6 @@
+2021-03-14 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD: fixed build with -ffast-math
+
2021-03-05 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* BUILD, DETAILS, DEPENDS: version 27.1