[gforth] build with -O0 until bug with -O2 is found
Adrian Reber
adrian at fedoraproject.org
Thu Apr 5 18:41:03 UTC 2012
commit 6347bc31fb82cee1db272c378ba1e7d3327f343f
Author: Adrian Reber <adrian at lisas.de>
Date: Thu Apr 5 20:40:57 2012 +0200
build with -O0 until bug with -O2 is found
gforth.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gforth.spec b/gforth.spec
index 652b27a..6710a8d 100644
--- a/gforth.spec
+++ b/gforth.spec
@@ -1,6 +1,6 @@
Name: gforth
Version: 0.7.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Fast and portable implementation of the ANS Forth language
Group: Development/Languages
@@ -44,7 +44,9 @@ mv -f AUTHORS.new AUTHORS
%build
-CFLAGS="${RPM_OPT_FLAGS} `pkg-config libffi --cflags`" %configure
+# -O1 and -O2 breaks the binary, all '\n' are replaced with '\0'
+# using -O0 to build it
+CFLAGS="${RPM_OPT_FLAGS} `pkg-config libffi --cflags` -O0" %configure
# %{_smp_mflags} breaks the build
make libdir=%{_libdir}
@@ -128,6 +130,9 @@ fi
%changelog
+* Thu Apr 05 2012 Adrian Reber <adrian at lisas.de> - 0.7.0-8
+- build with -O0 until bug with -O2 is found
+
* Mon Mar 26 2012 Adrian Reber <adrian at lisas.de> - 0.7.0-7
- added BR libtool-ltdl-devel
- fixes "Missing libtool build dep can lead to strange errors" (#806688)
More information about the scm-commits
mailing list