SPECS (LINUX_2_6_16): kernel.spec - fix build sparc64 on sparc arc...

undefine undefine at pld-linux.org
Thu Feb 14 09:25:46 CET 2008


Author: undefine                     Date: Thu Feb 14 08:25:46 2008 GMT
Module: SPECS                         Tag: LINUX_2_6_16
---- Log message:
- fix build sparc64 on sparc arch. binutils are _native_ not, cross-

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1558.2.138 -> 1.441.2.1558.2.139) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1558.2.138 SPECS/kernel.spec:1.441.2.1558.2.139
--- SPECS/kernel.spec:1.441.2.1558.2.138	Wed Feb 13 23:46:00 2008
+++ SPECS/kernel.spec	Thu Feb 14 09:25:40 2008
@@ -407,6 +407,7 @@
 	%define	DepMod /bin/true
 
 	%if "%{_arch}" == "sparc" && "%{_target_base_arch}" == "sparc64"
+	%define CrossOpts ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux- LD=%{__ld} AS=%{__as} NM=%{__nm} AR=%{__ar} RANLIB=%{__ranlib} STRIP=%{__strip}
 	%define	DepMod /sbin/depmod
 	%endif
 
@@ -911,7 +912,9 @@
 
 %patch81 -p1
 %patch82 -p1
+%ifnarch sparc64
 %patch83 -p1
+%endif
 
 %patch90 -p1
 %patch91 -p1
@@ -1834,6 +1837,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1558.2.139  2008-02-14 08:25:40  undefine
+- fix build sparc64 on sparc arch. binutils are _native_ not, cross-
+
 Revision 1.441.2.1558.2.138  2008-02-13 22:46:00  glen
 - better English
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.1558.2.138&r2=1.441.2.1558.2.139&f=u



More information about the pld-cvs-commit mailing list