From afe2e8ee75c40174ea31eb803bd8910966de300e Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 16 Feb 2011 21:04:47 +0000 Subject: Only use -z noexecstack for these explicit arches: i386, amd64, powerpc and powerpc64. Other arches currently do not support this feature. Reminded by: kib --- usr.sbin/uathload/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/uathload') diff --git a/usr.sbin/uathload/Makefile b/usr.sbin/uathload/Makefile index ee06967..d7b808c 100644 --- a/usr.sbin/uathload/Makefile +++ b/usr.sbin/uathload/Makefile @@ -7,7 +7,7 @@ SRCS= uathload.c ar5523.bin CLEANFILES= ar5523.bin -.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "sparc64" +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" LDFLAGS+= -Wl,-z,noexecstack .endif -- cgit v1.1