Browse Source

* add orc spec
- fix ppc build failure


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1472 ec354946-7b23-47d6-9f5a-488ba84defc7

shaolin 14 years ago
parent
commit
7d2f5c03f8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      o/orc/orc-vl.spec

+ 7 - 1
o/orc/orc-vl.spec

@@ -1,7 +1,7 @@
 Name:		orc
 Summary:	The Oil Run-time Compiler
 Version:	0.4.5
-Release:	3%{?_dist_release}
+Release:	4%{?_dist_release}
 
 Group:		System Environment/Libraries
 License:	BSD
@@ -55,6 +55,8 @@ autoreconf -vif
 
 
 %build
+export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
+export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
 %configure --disable-static --enable-gtk-doc
 
 make %{?_smp_mflags}
@@ -103,6 +105,10 @@ make check
 
 
 %changelog
+* Fri Jul 30 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-4
+- build with -O1 (not -O2) to fix build failure on ppc
+  (like as the Debian package does)
+
 * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3
 - Initial build for Vine Linux