Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only use -z noexecstack for these explicit arches: i386, amd64, powerpc

and powerpc64.  Other arches currently do not support this feature.

Reminded by:	kib
  • Loading branch information...
commit 14592582d48b1a9ae260d4f740240172eadcb9fc 1 parent 3863dfe
@DimitryAndric DimitryAndric authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  usr.sbin/uathload/Makefile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.