diff options
author | 2012-02-18 16:24:02 +0000 | |
---|---|---|
committer | 2012-02-18 16:24:02 +0000 | |
commit | 7aeb272c6d3e07d83db589eada4fd9fe7feffa56 (patch) | |
tree | be52a22f4729975c93bfde31fd90f406f2069aa3 | |
parent | remove the install target from here since the BSD makefile wrapper (diff) | |
download | wireguard-openbsd-7aeb272c6d3e07d83db589eada4fd9fe7feffa56.tar.xz wireguard-openbsd-7aeb272c6d3e07d83db589eada4fd9fe7feffa56.zip |
Work around compiler confusion while building rthread.o on vax.
-rw-r--r-- | lib/librthread/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile index 991a191b0c9..11e0d79eafa 100644 --- a/lib/librthread/Makefile +++ b/lib/librthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2012/02/15 06:48:40 guenther Exp $ +# $OpenBSD: Makefile,v 1.25 2012/02/18 16:24:02 miod Exp $ LIB=pthread WANTLINT= @@ -6,7 +6,11 @@ LINTFLAGS=-z LIBCSRCDIR= ${.CURDIR}/../libc CFLAGS+=-Wall -g -Werror -Wshadow -CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wsign-compare +.if "${MACHINE_ARCH}" != "vax" +CFLAGS+=-Wmissing-prototypes +.endif +CFLAGS+=-Wstrict-prototypes +CFLAGS+=-Wsign-compare CFLAGS+=-I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include LDADD = -Wl,-znodelete,-zinitfirst |