summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-04-10 15:50:39 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-04-10 15:50:39 +0000
commit213c6b55ddb4168cc2df478c206d9f8db6bfac38 (patch)
tree2eed0c2745b49d4a0be330e41f019ed1c566bfa3
parent8e0b6ea5c5cc887f18f09259749c292a23fd8716 (diff)
Build with -O1 on vax for now, pcre_exec can not build with -O2.
-rw-r--r--usr.sbin/nginx/Makefile.bsd-wrapper6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/nginx/Makefile.bsd-wrapper b/usr.sbin/nginx/Makefile.bsd-wrapper
index 2a8cabb4b75..a70bc9d60fb 100644
--- a/usr.sbin/nginx/Makefile.bsd-wrapper
+++ b/usr.sbin/nginx/Makefile.bsd-wrapper
@@ -1,10 +1,14 @@
# Build wrapper for Nginx
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2012/02/19 11:29:37 robert Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.5 2012/04/10 15:50:38 miod Exp $
LNDIR= /usr/bin/lndir
.include <bsd.own.mk>
+.if (${MACHINE_ARCH} == "vax")
+CFLAGS=-O1 ${PIPE} ${DEBUG}
+.endif
+
CONFIGURE_ARGS= --prefix=/var/www \
--conf-path=/etc/nginx/nginx.conf \
--sbin-path=/usr/sbin/nginx \