[gambit-c/el6] Update ppc64 optimization hack

Michel Alexandre Salim salimma at fedoraproject.org
Tue Jun 5 08:48:23 UTC 2012


commit de173f0a1478735822a9ac2d2967210f34635c9f
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Tue Jun 5 15:48:04 2012 +0700

    Update ppc64 optimization hack

 gambc-v4_6_5-reduce-opt.patch |   15 ---------------
 gambc-v4_6_6-reduce-opt.patch |   11 +++++++++++
 gambit-c.spec                 |    2 +-
 3 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/gambc-v4_6_6-reduce-opt.patch b/gambc-v4_6_6-reduce-opt.patch
new file mode 100644
index 0000000..ceaff8c
--- /dev/null
+++ b/gambc-v4_6_6-reduce-opt.patch
@@ -0,0 +1,11 @@
+--- gambc-v4_6_6-devel/configure.reduce-opt	2012-05-24 00:18:43.000000000 +0700
++++ gambc-v4_6_6-devel/configure	2012-06-05 15:45:33.295482005 +0700
+@@ -22314,7 +22314,7 @@
+   case "$ENABLE_C_OPT" in
+ 
+      yes) if test "$DASH_O2" != ""; then
+-            OPT_LEVEL_FLAG="$DASH_O2"
++            OPT_LEVEL_FLAG="$DASH_O1"
+           fi
+           ;;
+ 
diff --git a/gambit-c.spec b/gambit-c.spec
index 81bd152..b6eeaeb 100644
--- a/gambit-c.spec
+++ b/gambit-c.spec
@@ -23,7 +23,7 @@ URL:            http://www.iro.umontreal.ca/~gambit
 Source0:        http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/%{dirname}.tgz
 Source1:        gambit-init.el
 Patch0:         gambc-v4_2_8-modtime.patch
-Patch1:         gambc-v4_6_5-reduce-opt.patch
+Patch1:         gambc-v4_6_6-reduce-opt.patch
 
 BuildRequires:  emacs
 Requires:       gcc


More information about the scm-commits mailing list