summaryrefslogtreecommitdiffstats
path: root/usr.sbin/uathload/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/uathload/Makefile')
-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 4f9b99d..ee06967 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}
OpenPOWER on IntegriCloud