pkgsrc/www/nginx/Makefile.cflags
shattered 66d2bfc90f Add option 'nginx-autodetect-cflags' (not set by default) -- fixes build
problem on Solaris with Sun compiler (nginx ticket 65).
2012-09-23 12:46:15 +00:00

8 lines
264 B
Text

# $NetBSD: Makefile.cflags,v 1.1 2012/09/23 12:46:15 shattered Exp $
# This must be included after everything else to truly clear CFLAGS.
# If CFLAGS is non-empty, build with SunPro fails (bug 65).
.if !empty(PKG_OPTIONS:Mnginx-autodetect-cflags)
CFLAGS=
.endif