OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-Jun-2007 16:16:17
Branch: HEAD Handle: 2007060815161700
Modified files:
openpkg-src/gcc gcc.spec
Log:
avoid hang in GNU ld/as detection when non-GNU utility reads from
stdin (Mac OS X)
Summary:
Revision Changes Path
1.143 +3 -3 openpkg-src/gcc/gcc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.142 -r1.143 gcc.spec
--- openpkg-src/gcc/gcc.spec 5 Jun 2007 17:01:27 -0000 1.142
+++ openpkg-src/gcc/gcc.spec 8 Jun 2007 14:16:17 -0000 1.143
@@ -37,7 +37,7 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20070605
+Release: 20070608
# package options
%option with_cxx yes
@@ -119,8 +119,8 @@
AS="%{l_tool_locate as as}"
echo "$LD" | grep "^/" >/dev/null &&
l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-ld=\"$LD\""
echo "$AS" | grep "^/" >/dev/null &&
l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-as=\"$AS\""
- "$LD" --version 2>/dev/null | grep "^GNU ld " >/dev/null &&
l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-ld"
- "$AS" --version 2>/dev/null | grep "^GNU assembler " >/dev/null &&
l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as"
+ "$LD" --version </dev/null 2>/dev/null | grep "^GNU ld "
>/dev/null && l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-ld"
+ "$AS" --version </dev/null 2>/dev/null | grep "^GNU assembler "
>/dev/null && l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as"
# determine threads usage
%if "%{with_threads}" == "yes"
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]