aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/uathload
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-02-16 20:46:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-02-16 20:46:57 +0000
commit19e3d7d70b9ce95f7b5bcde804db26942ed83dc7 (patch)
tree4115cf9bf697676c6baafdb047185105c084c382 /usr.sbin/uathload
parent917721a49555f247ace4b6ced66a223896b0e84e (diff)
Notes
Diffstat (limited to 'usr.sbin/uathload')
-rw-r--r--usr.sbin/uathload/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/uathload/Makefile b/usr.sbin/uathload/Makefile
index 4f9b99d6b185..ee06967d504e 100644
--- a/usr.sbin/uathload/Makefile
+++ b/usr.sbin/uathload/Makefile
@@ -7,6 +7,10 @@ SRCS= uathload.c ar5523.bin
CLEANFILES= ar5523.bin
+.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "sparc64"
+LDFLAGS+= -Wl,-z,noexecstack
+.endif
+
ar5523.bin: ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu
uudecode -p ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu > ${.TARGET}