Hi Sam,

I had to apply this patch manually so hopefully I got it right. However 
it's now in the hg server.

Best regards,

Hannu
------
Sam Woodhead wrote:
> This has been annoying me for a while, The depreciated warning 
> potentially masks real warnings / errors. Tested and works fine (and 
> correctly with SunStudio 11 and 12 I haven't changed sparc as I don't 
> have an easy way to test right now.)
>
> diff -r 9cc8c8fd37d4 setup/srcconf_solaris.inc
> --- a/setup/srcconf_solaris.inc Mon Feb 16 11:19:49 2009 +0200
> +++ b/setup/srcconf_solaris.inc Wed Feb 25 08:19:07 2009 +0000
> @@ -65,7 +65,11 @@
>   #else
>     if (strcmp (tmp, "amd64") == 0)
>       {
> +#if (__SUNPRO_C <= 0x590)
> +      strcpy (conf->OSflags, "-m64 -xmodel=kernel");
> +#else
>         strcpy (conf->OSflags, "-xarch=$(ARCH) -xmodel=kernel");
> +#endif
>         strcpy (conf->platform, "i86pc");
>       }
>     else if (strcmp (tmp, "sparcv9") == 0)
> @@ -80,7 +84,11 @@
>       }
>     else if (strcmp (tmp, "i386") == 0)
>       {
> +#if (__SUNPRO_C <= 0x590)
> +      strcpy (conf->OSflags, "-m32");
> +#else
>         strcpy (conf->OSflags, "-xarch=386");
> +#endif
>         strcpy (conf->platform, "i86pc");
>       }
>     else
>
> --
> Regards
>
> Sam Woodhead
>
> (Any etiquette I failed to follow if its important let me know - I 
> wouldn't have thought something so trivial required sign off 
> documentation )
> _______________________________________________
> oss-devel mailing list
> oss-devel@mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
>   

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to