rpms/compat-gcc-32/devel compat-gcc-32.spec,1.33,1.34

Dennis Gilmore ausil at fedoraproject.org
Sun Feb 15 00:43:11 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/compat-gcc-32/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21070

Modified Files:
	compat-gcc-32.spec 
Log Message:
build 32 bit sparc sparcv9



Index: compat-gcc-32.spec
===================================================================
RCS file: /cvs/pkgs/rpms/compat-gcc-32/devel/compat-gcc-32.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- compat-gcc-32.spec	15 Jul 2008 17:41:59 -0000	1.33
+++ compat-gcc-32.spec	15 Feb 2009 00:42:40 -0000	1.34
@@ -1,7 +1,7 @@
 %define LIBSTDCXXDATE 20040818
 %define DATE 20040701
 %define gcc_version 3.2.3
-%define gcc_release 64
+%define gcc_release 65
 %define _unpackaged_files_terminate_build 0
 %define multilib_64_archs sparc64 ppc64 s390x x86_64
 %define build_java 0
@@ -47,7 +47,7 @@
 Conflicts: gdb < 5.1-2
 Requires: glibc-devel >= 2.2.90-12
 Requires: libgcc >= 3.4.0
-%ifarch %{multilib_64_archs} sparc ppc
+%ifarch %{multilib_64_archs} sparc sparcv9 ppc
 # Ensure glibc{,-devel} is installed for both multilib arches
 BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
 %endif
@@ -125,13 +125,13 @@
 
 %define _gnu %{nil}
 
-%ifarch sparc
+%ifarch sparc sparcv9
 %define gcc_target_platform sparc64-%{_vendor}-linux
 %endif
 %ifarch ppc
 %define gcc_target_platform ppc64-%{_vendor}-linux
 %endif
-%ifnarch sparc ppc
+%ifnarch sparc sparcv9 ppc
 %define gcc_target_platform %{_target_cpu}-%{_vendor}-linux
 %endif
 
@@ -273,7 +273,7 @@
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=nocona//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=generic//g'`
 %endif
-%ifarch sparc sparc64
+%ifarch sparc sparcv9 sparc64
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g'`
 %endif
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Wall//g' -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
@@ -303,13 +303,13 @@
 	--enable-shared --enable-threads=posix --disable-checking \
 	--with-system-zlib --enable-__cxa_atexit \
 	--enable-languages=c,c++ --disable-libgcj \
-%ifarch sparc
+%ifarch sparc sparcv9
 	--host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7
 %endif
 %ifarch ppc
 	--host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
 %endif
-%ifnarch sparc ppc
+%ifnarch sparc sparcv9 ppc
 	--host=%{gcc_target_platform}
 %endif
 
@@ -414,7 +414,7 @@
 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/lib*.so*
 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/lib*.a
 %else
-%ifarch sparc ppc
+%ifarch sparc sparcv9 ppc
 rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/lib*.so*
 rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/lib*.a
 %endif
@@ -434,6 +434,9 @@
 %{_prefix}/%{_lib}/libstdc++.so.5*
 
 %changelog
+* Sat Feb 14 2009 Dennis Gilmore <dennis at ausil.us> - 3.2.3-65
+- fix to build 32 bit sparc sparcv9
+
 * Tue Jul 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 3.2.3-64
 - fix license tag
 - apply patches with fuzz=2




More information about the fedora-extras-commits mailing list