diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-02-16 21:04:47 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-02-16 21:04:47 +0000 |
commit | a4227c6a5bb7a76620c8add48f1f684500cb0a57 (patch) | |
tree | faf9d224c91d8876762ad04170a8e05f7d5784eb /usr.sbin/uathload | |
parent | 19e3d7d70b9ce95f7b5bcde804db26942ed83dc7 (diff) | |
download | src-a4227c6a5bb7a76620c8add48f1f684500cb0a57.tar.gz src-a4227c6a5bb7a76620c8add48f1f684500cb0a57.zip |
Only use -z noexecstack for these explicit arches: i386, amd64, powerpc
and powerpc64. Other arches currently do not support this feature.
Reminded by: kib
Notes
Notes:
svn path=/head/; revision=218749
Diffstat (limited to 'usr.sbin/uathload')
-rw-r--r-- | usr.sbin/uathload/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/uathload/Makefile b/usr.sbin/uathload/Makefile index ee06967d504e..d7b808cc59e8 100644 --- a/usr.sbin/uathload/Makefile +++ b/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 |