When building libzpool on ia64 or sparc64, don't add the .note.GNU-stack

section.

Submitted by:	kib
This commit is contained in:
Dimitry Andric 2011-02-15 22:28:15 +00:00
parent 2fd7d6aab6
commit 38d82872c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218725

View File

@ -14,7 +14,9 @@
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "powerpc64"
.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
ATOMIC_SRCS= opensolaris_atomic.S
.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "sparc64"
ACFLAGS+= -Wa,--noexecstack
.endif
.else
.PATH: ${.CURDIR}/../../../sys/cddl/compat/opensolaris/kern
ATOMIC_SRCS= opensolaris_atomic.c