mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 07:02:42 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218749
@ -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