Do you really need so many compiler flags ?

As Mike suggested, you can use the existing flags defined in the 
Makefile.master plus
some additional flags specific to mysql (e.g., it needs xc99 to be disabled. So
you can use C99_DISABLE variable).

And also, you don't have to pass -DBIG_TABLES as compiler option.
MySQL 5.0.4 supports "--with-big-tables" configure option. Better to use that.

Check the configure script. It sets the flags like -KPIC, -DPIC,  
-DHAVE_RWLOCK_T for Solaris.
You do not have to pass them explicitly.


-- Seema.

Sunanda Menon wrote:
> Seema ,
> 
> Please review again .I have removed the standard lib paths and it seems 
> to be working fine .
> 
> Thanks Sunanda
> 
> Seema Alevoor wrote:
>> Is there a need to explicitly add the system default paths (/lib and 
>> /usr/lib) in the LDFLAGS ?
>> Was there any issue when you didn't include these paths in LDFLAGS ?
>>
>> -- Seema.
>>
>>
>> Sunanda Menon wrote:
>>> Hi ,
>>>
>>> Please review for CR 6641437 at 
>>> http://cr.opensolaris.org/~sunandam/6641437
>>>
>>> Thanks
>>>
> 
> 


Reply via email to