diff options
author | dim <dim@FreeBSD.org> | 2011-02-16 21:04:47 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-02-16 21:04:47 +0000 |
commit | afe2e8ee75c40174ea31eb803bd8910966de300e (patch) | |
tree | faf9d224c91d8876762ad04170a8e05f7d5784eb /usr.sbin/uathload | |
parent | 08fa1606e880e4a9b647e294fea72882692d42ed (diff) | |
download | FreeBSD-src-afe2e8ee75c40174ea31eb803bd8910966de300e.zip FreeBSD-src-afe2e8ee75c40174ea31eb803bd8910966de300e.tar.gz |
Only use -z noexecstack for these explicit arches: i386, amd64, powerpc
and powerpc64. Other arches currently do not support this feature.
Reminded by: kib
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 ee06967..d7b808c 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 |