diff options
author | 2012-04-10 15:50:38 +0000 | |
---|---|---|
committer | 2012-04-10 15:50:38 +0000 | |
commit | ecf2a91ebf128d781254d3309c168338132ed56f (patch) | |
tree | 199d79cf695953da8f68cb0c057a83b5ab560f28 | |
parent | Don't try to mmap a zero length file, from NetBSD. (diff) | |
download | wireguard-openbsd-ecf2a91ebf128d781254d3309c168338132ed56f.tar.xz wireguard-openbsd-ecf2a91ebf128d781254d3309c168338132ed56f.zip |
Build with -O1 on vax for now, pcre_exec can not build with -O2.
-rw-r--r-- | usr.sbin/nginx/Makefile.bsd-wrapper | 6 |
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 \ |