Only use -z noexecstack for these explicit arches: i386, amd64, powerpc
and powerpc64. Other arches currently do not support this feature. Reminded by: kib
This commit is contained in:
parent
19e3d7d70b
commit
a4227c6a5b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user