Mark libcompiler_rt as not needed executable stack on powerpc.

Reviewed and tested by:	nwhitehorn
This commit is contained in:
kib 2011-01-14 11:23:39 +00:00
parent c962e71f7e
commit 469d0e8498

View File

@ -156,7 +156,8 @@ SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a
. endif
.endif
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \
${MACHINE_CPUARCH} == "powerpc"
AFLAGS+=--noexecstack
ACFLAGS+=-Wa,--noexecstack
.endif