components/python/python26/patches/Python26-30-pycc.patch
changeset 4984 7145b15b7f0d
parent 4983 db2589571faa
child 4985 eed3576cafd0
equal deleted inserted replaced
4983:db2589571faa 4984:7145b15b7f0d
     1 This fixes CR #15620181.  Makes pycc work with Sun Studio.
       
     2 
       
     3 --- Python-2.6.8/pycc-orig	2013-01-23 12:09:28.026626781 -0800
       
     4 +++ Python-2.6.8/pycc	2013-01-23 12:09:47.765962711 -0800
       
     5 @@ -150,7 +150,7 @@ extra_flags=
       
     6  
       
     7  is_gcc=no
       
     8  
       
     9 -$CC --version >/dev/null 2>&1 && is_gcc=yes
       
    10 +$CC --version 2>/dev/null | /usr/xpg4/bin/grep -q GCC && is_gcc=yes 
       
    11  
       
    12  if [ "$is_gcc" = yes ]; then
       
    13  	for flag in "${@}"; do