summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-11-11 19:53:37 +0000
committerderaadt <deraadt@openbsd.org>2019-11-11 19:53:37 +0000
commitced747318a471d38da9805a56ea52e8f503bd12b (patch)
tree146691f767238d3998d8dc392d4fb697a3d03f44
parentTypo. (diff)
downloadwireguard-openbsd-ced747318a471d38da9805a56ea52e8f503bd12b.tar.xz
wireguard-openbsd-ced747318a471d38da9805a56ea52e8f503bd12b.zip
skip demanding -fstack-protector-all on hppa. we never wrote a stack protector
for reverse-stack architectures, and i don't think anyone else did either. a warning per compiled file is just annoying.
-rw-r--r--usr.bin/ssh/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/Makefile.inc b/usr.bin/ssh/Makefile.inc
index efa2124f41a..40264abbfb4 100644
--- a/usr.bin/ssh/Makefile.inc
+++ b/usr.bin/ssh/Makefile.inc
@@ -1,9 +1,11 @@
-# $OpenBSD: Makefile.inc,v 1.73 2019/10/31 21:37:33 djm Exp $
+# $OpenBSD: Makefile.inc,v 1.74 2019/11/11 19:53:37 deraadt Exp $
.include <bsd.own.mk>
CFLAGS+= -I${.CURDIR}/..
+.if ${MACHINE} != "hppa"
CFLAGS+= -fstack-protector-all
+.endif
CDIAGFLAGS= -Wall
CDIAGFLAGS+= -Wextra