summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-11-11 19:53:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-11-11 19:53:38 +0000
commit544ec5cfd501ae21c47219a64b2ee20585ca3903 (patch)
tree2aa669ccaae918eca41d627ebc6adeb527df56cf /usr.bin
parent69c2d9e632edb7f3f6edb04312ca3e2434a959dd (diff)
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.
Diffstat (limited to 'usr.bin')
-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