On 14 Jun 2009, at 14:23, Varun.N.Rao wrote:

> Hello all,
> I am trying to port an application.
> The . /configure works fine.
> When i do a make, I get the error,
>
> ILLEGAL OPTION : -Werror.
> It could be because -Werror is not a valid option in Sun Studio  
> which i am using to compile.
> Can any one let me know how to over ride this flag.?

You could fix the broken Makefiles to remove -Werror, or as a quick  
and dirty hack set CFLAGS in your environment to some more appropriate  
compiler flags before running make.

Cheers,

Chris

Reply via email to