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
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090810/7de47e2e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: David_Zhang.vcf
Type: text/x-vcard
Size: 114 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090810/7de47e2e/attachment.vcf>