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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to