SPECS (AC-branch): gcc.spec - avoid -m64 in optflags on sparc64 (c...

qboosh qboosh at pld-linux.org
Mon Dec 12 13:43:24 CET 2005


Author: qboosh                       Date: Mon Dec 12 12:43:24 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- avoid -m64 in optflags on sparc64 (conflicts with multilib)

---- Files affected:
SPECS:
   gcc.spec (1.241.2.25 -> 1.241.2.26) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.241.2.25 SPECS/gcc.spec:1.241.2.26
--- SPECS/gcc.spec:1.241.2.25	Mon Dec 12 01:14:16 2005
+++ SPECS/gcc.spec	Mon Dec 12 13:43:19 2005
@@ -117,11 +117,10 @@
 %define		_slibdir32	/lib
 %define		_libdir32	/usr/lib
 %endif
-%if %{with boot64}
 %ifarch sparc64
+# skip -m64, gcc needs to add -m32 for 32-bit libs
 %define		rpmcflags	-O2 -mtune=ultrasparc
 %endif
-%endif
 
 %description
 A compiler aimed at integrating all the optimizations and features
@@ -1909,6 +1908,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.241.2.26  2005/12/12 12:43:19  qboosh
+- avoid -m64 in optflags on sparc64 (conflicts with multilib)
+
 Revision 1.241.2.25  2005/12/12 00:14:16  qboosh
 - pass as/ld to drop cross*64-binutils runtime dep (but still BRed)
 
================================================================

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




More information about the pld-cvs-commit mailing list