Date: Wed, 16 Feb 2011 21:04:47 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218749 - head/usr.sbin/uathload Message-ID: <201102162104.p1GL4liR083634@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102162104.p1GL4liR083634>