CFLAGS and SunPRO linkage

Dewey Hylton dewey.hylton at gmail.com
Fri Jul 16 01:14:52 MSD 2010


> Joerg Sonnenberger
> CFLAGS and SunPRO linkage
> March 20, 2010 09:36AM 	
> Hi,
> at the moment, linkage on Solaris with SunPRO will fail, if CFLAGS is
>set in the environment. This is a consequenec of skipping auto/cc/sunc,
>which sets NGX_AUX to the assembler routines implementing
>ngx_atomic_fetch_add and co. Shouldn't the compiler specific routines
>generally be run, but CPU_OPT and NGX_CPU_CACHE_LINE ignored if CFLAGS
>was already set?
>
> Joerg

a workaround is listed here:
http://mail-index.netbsd.org/pkgsrc-users/2010/03/20/msg011950.html

any chance this can be addressed from the nginx side? it was suggested
that i post here in hopes that Igor may be able/willing to help.

thanks!

-dewey



More information about the nginx-devel mailing list