Opened 9 years ago

Closed 7 years ago

#65 closed defect (fixed)

CFLAGS and SunPRO linkage

Reported by: launchpad.net/~svs Owned by: somebody
Priority: minor Milestone:
Component: nginx-core Version: 0.8.x
Keywords: Cc:
uname -a:
nginx -V: not available

Description

Quoting http://forum.nginx.org/read.php?29,65907,65907

"at the moment [March 20, 2010], 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?"

Change History (3)

comment:1 by Sergey Budnevitch, 9 years ago

Status: newaccepted

comment:2 by Maxim Dounin <mdounin@…>, 7 years ago

In 945aa9c7f2829e71de03611dead6411d2b574bf6/nginx:

Configure: fixed building with Sun C if CFLAGS set (ticket #65).

comment:3 by Maxim Dounin, 7 years ago

Resolution: fixed
sensitive: 0
Status: acceptedclosed

Fixed.

Note: See TracTickets for help on using tickets.