SPECS (GCC_4_1): gcc.spec - a lil hack of config.sub so ppc74[05]0...

sparky sparky at pld-linux.org
Sun Feb 12 14:21:02 CET 2006


Author: sparky                       Date: Sun Feb 12 13:21:01 2006 GMT
Module: SPECS                         Tag: GCC_4_1
---- Log message:
- a lil hack of config.sub so ppc74[05]0-pld-linux-gcc will work
  (not needed in other apps as --host=ppc-pld-linux is used)

---- Files affected:
SPECS:
   gcc.spec (1.396.2.23 -> 1.396.2.24) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.396.2.23 SPECS/gcc.spec:1.396.2.24
--- SPECS/gcc.spec:1.396.2.23	Sat Feb 11 15:34:54 2006
+++ SPECS/gcc.spec	Sun Feb 12 14:20:56 2006
@@ -154,6 +154,8 @@
 %define		_libdir32	/usr/lib
 %endif
 
+%define	_target_platform	%{_target_cpu}-%{_vendor}-%{_target_os}
+
 %description
 A compiler aimed at integrating all the optimizations and features
 necessary for a high-performance and stable development environment.
@@ -800,6 +802,9 @@
 %{__autoconf}
 cd ..
 cp -f /usr/share/automake/config.sub .
+sed -e '/ppc.*basic_machine=powerpc-unknown/a;;\nppc74[05]0-*) basic_machine=powerpc-`echo $basic_machine | sed "s/^[^-]*-//"`' \
+	-i config.sub	
+
 
 rm -rf obj-%{_target_platform}
 install -d obj-%{_target_platform}
@@ -1371,6 +1376,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.396.2.24  2006/02/12 13:20:56  sparky
+- a lil hack of config.sub so ppc74[05]0-pld-linux-gcc will work
+  (not needed in other apps as --host=ppc-pld-linux is used)
+
 Revision 1.396.2.23  2006/02/11 14:34:54  pluto
 - 128-bit long double support for ppc/sparc/alpha merged. bootstrapping...
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gcc.spec?r1=1.396.2.23&r2=1.396.2.24&f=u



More information about the pld-cvs-commit mailing list