OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Oct-2007 21:06:38
Branch: HEAD Handle: 2007101620063800
Modified files:
openpkg-src/gcc gcc.spec
Log:
Make use of binutils optional again. This allows one to bootstrap gcc
an platforms on which build of binutils with the vendor compiler is
broken, e.g. Sun Solaris 10 on sparc64 with Sun Studio Compiler 11/12.
There might be better ways but at the moment I don't have a better
option to offer
Summary:
Revision Changes Path
1.150 +4 -1 openpkg-src/gcc/gcc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.149 -r1.150 gcc.spec
--- openpkg-src/gcc/gcc.spec 9 Oct 2007 07:19:38 -0000 1.149
+++ openpkg-src/gcc/gcc.spec 16 Oct 2007 19:06:38 -0000 1.150
@@ -37,9 +37,10 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20071009
+Release: 20071016
# package options
+%option with_binutils yes
%option with_cxx yes
%option with_objc no
%option with_java no
@@ -58,8 +59,10 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060622, make
PreReq: OpenPKG, openpkg >= 20060622
+%if "%{with_binutils}" == "yes"
BuildPreReq: binutils >= 2.14
PreReq: binutils >= 2.14
+%endif
%if "%{with_fortran}" == "yes"
BuildPreReq: mpfr
PreReq: mpfr
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]