SPECS: glibc.spec - add -m32 to __cc to fix 32-bit sparc build usi...
qboosh
qboosh at pld-linux.org
Sat Dec 30 23:18:20 CET 2006
Author: qboosh Date: Sat Dec 30 22:18:20 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add -m32 to __cc to fix 32-bit sparc build using multilib compiler
---- Files affected:
SPECS:
glibc.spec (1.667 -> 1.668)
---- Diffs:
================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.667 SPECS/glibc.spec:1.668
--- SPECS/glibc.spec:1.667 Sat Dec 30 23:07:00 2006
+++ SPECS/glibc.spec Sat Dec 30 23:18:15 2006
@@ -136,6 +136,11 @@
%define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
%define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
+# -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
+%ifarch sparc sparcv9
+%{expand:%%define __cc %{__cc} -m32}
+%endif
+
# Xen-friendly glibc
%define specflags_ia32 -mno-tls-direct-seg-refs
%define specflags_x86_64 -mno-tls-direct-seg-refs
@@ -1462,6 +1467,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.668 2006/12/30 22:18:15 qboosh
+- add -m32 to __cc to fix 32-bit sparc build using multilib compiler
+
Revision 1.667 2006/12/30 22:07:00 qboosh
- added added sparc-softfp-gcc patch (fixes build on sparc)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/glibc.spec?r1=1.667&r2=1.668&f=u
More information about the pld-cvs-commit
mailing list