Browse Source

* sip: add gcc option "-fPIC" also on ppc

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1991 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 14 years ago
parent
commit
8a610f7e7c
1 changed files with 5 additions and 2 deletions
  1. 5 2
      s/sip/sip-vl.spec

+ 5 - 2
s/sip/sip-vl.spec

@@ -6,7 +6,7 @@ Name:        sip
 Summary:     SIP - Python/C++ Bindings Generator
 Summary(ja): Python/C++ インターフェイス生成ツール
 Version:     4.10.5
-Release:     1%{?_dist_release}
+Release:     2%{?_dist_release}
 
 License:     GPL
 Group:       Development/Tools
@@ -51,7 +51,7 @@ classes library.
 %patch0
 
 %build
-%ifarch x86_64
+%ifarch x86_64 ppc
 OPT_FLAGS="%{optflags} -fPIC"
 %else
 OPT_FLAGS="%{optflags}"
@@ -92,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/sip
 
 %changelog
+* Mon Oct  4 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.10.5-2
+- add gcc option "-fPIC" also on ppc
+
 * Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.10.5-1
 - new upstream release