enable stack_noexec where a non-executable stack is supported
This commit is contained in:
parent
8d4559c4ee
commit
8f89c664eb
@ -1,5 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.3 2004/02/15 12:20:26 yamt Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2004/02/19 16:56:52 drochner Exp $
|
||||
|
||||
SUBDIR+= mmap stack_exec loan1
|
||||
|
||||
#
|
||||
# Test for no-executable stack; applies only to architectures
|
||||
# where CPU and kernel support it.
|
||||
#
|
||||
STACKNOX_ARCHS= alpha amd64 i386 powerpc sh5 sparc sparc64
|
||||
|
||||
.if !empty(STACKNOX_ARCHS:M${MACHINE_ARCH})
|
||||
SUBDIR+= stack_noexec
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user