svn commit: r218749 - head/usr.sbin/uathload
Dimitry Andric
dim at FreeBSD.org
Wed Feb 16 21:04:47 UTC 2011
Author: dim
Date: Wed Feb 16 21:04:47 2011
New Revision: 218749
URL: http://svn.freebsd.org/changeset/base/218749
Log:
Only use -z noexecstack for these explicit arches: i386, amd64, powerpc
and powerpc64. Other arches currently do not support this feature.
Reminded by: kib
Modified:
head/usr.sbin/uathload/Makefile
Modified: head/usr.sbin/uathload/Makefile
==============================================================================
--- head/usr.sbin/uathload/Makefile Wed Feb 16 20:46:57 2011 (r218748)
+++ head/usr.sbin/uathload/Makefile Wed Feb 16 21:04:47 2011 (r218749)
@@ -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
More information about the svn-src-all
mailing list