SPECS (AC-branch): gcc.spec - pass as/ld to drop cross*64-binutils...

qboosh qboosh at pld-linux.org
Mon Dec 12 01:14:22 CET 2005


Author: qboosh                       Date: Mon Dec 12 00:14:22 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- pass as/ld to drop cross*64-binutils runtime dep (but still BRed)

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

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.241.2.24 SPECS/gcc.spec:1.241.2.25
--- SPECS/gcc.spec:1.241.2.24	Sun Dec 11 23:28:36 2005
+++ SPECS/gcc.spec	Mon Dec 12 01:14:16 2005
@@ -78,6 +78,9 @@
 BuildRequires:	automake
 BuildRequires:	binutils >= 2:2.15.90.0.3
 BuildRequires:	bison
+%ifarch sparc64
+%{?with_boot64:BuildRequires:	crosssparc64-binutils >= 1.15.90.0.3}
+%endif
 BuildRequires:	fileutils >= 4.0.41
 %{?with_ada:%{!?with_bootstrap:BuildRequires:	gcc(ada)}}
 %{?with_ada:BuildRequires: gcc-ada}
@@ -1306,6 +1309,8 @@
 	--with-slibdir=%{_slibdir} \
 	--without-x \
 %if %{with boot64}
+	--with-as=/usr/bin/as \
+	--with-ld=/usr/bin/ld \
 	--with-sysroot= \
 	--target=%{_target_platform} \
 	--host=%{_host_alias} \
@@ -1344,15 +1349,14 @@
 	infodir=%{_infodir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%if boot64
+%ifarch sparc64
+%if %{with boot64}
 ln -f $RPM_BUILD_ROOT%{_bindir}/{sparc64-pld-linux-,}gcc
 mv -f $RPM_BUILD_ROOT%{_bindir}/{sparc64-pld-linux-,}gccbug
 mv -f $RPM_BUILD_ROOT%{_bindir}/{sparc64-pld-linux-,}gcov
 mv -f $RPM_BUILD_ROOT%{_bindir}/{sparc64-pld-linux-,}cpp
 mv -f $RPM_BUILD_ROOT%{_mandir}/man1/{sparc64-pld-linux-,}gcc.1
 %endif
-
-%ifarch sparc64
 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
 	$RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
 %endif
@@ -1905,6 +1909,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+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)
+
 Revision 1.241.2.24  2005/12/11 22:28:36  qboosh
 - added cxx and fortran bconds
 - added boot64 bcond to bootstrap sparc64 gcc from sparc (without ada yet...)
================================================================

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




More information about the pld-cvs-commit mailing list