I appreciate if there is comments for the change. I also would like to 
'commit' the change, maybe, before this Friday.

Regards,
David Z
> Thanks, that is the latest diff.
>
> icefox drivel_cc $ svn diff
> Index: SUNWdrivel.spec
> ===================================================================
> --- SUNWdrivel.spec    (revision 18987)
> +++ SUNWdrivel.spec    (working copy)
> @@ -62,10 +62,8 @@
>  gzcat %SOURCE1 | tar xf -
>  
>  %build
> -export CC=/usr/sfw/bin/gcc
> -export CXX=/usr/sfw/bin/g++
> -export CFLAGS="%gcc_optflags"
> -export CXXFLAGS="%gcc_cxx_optflags"
> +export CFLAGS="%optflags"
> +export LDFLAGS="%{_ldflags}"
>  %drivel.build -d %name-%version
>  
>  %install
>
> On 08/09/09 21:44, Andras Barna wrote:
>> you dont need?:
>>
>> export CFLAGS="%optflags"
>> export LDFLAGS="%{_ldflags}"
>>
>>
>> On Sun, Aug 9, 2009 at 3:50 PM, David Zhang<David.Zhang at sun.com> wrote:
>>   
>>> I need to use CC to replace gcc according to p-team's request.
>>>
>>> icefox drivel_cc $ svn diff
>>> Index: SUNWdrivel.spec
>>> ===================================================================
>>> --- SUNWdrivel.spec     (revision 18987)
>>> +++ SUNWdrivel.spec     (working copy)
>>> @@ -62,10 +62,6 @@
>>>  gzcat %SOURCE1 | tar xf -
>>>
>>>  %build
>>> -export CC=/usr/sfw/bin/gcc
>>> -export CXX=/usr/sfw/bin/g++
>>> -export CFLAGS="%gcc_optflags"
>>> -export CXXFLAGS="%gcc_cxx_optflags"
>>>  %drivel.build -d %name-%version
>>>
>>>  %install
>>>
>>> I also attached the changed source file.
>>>
>>> Regards,
>>> David
>>>
>>>     
>>
>>
>>
>>   
>


Reply via email to