Mark libcompiler_rt as not needed executable stack on powerpc.

Reviewed and tested by:	nwhitehorn
This commit is contained in:
Konstantin Belousov 2011-01-14 11:23:39 +00:00
parent 9f9569662f
commit c42c9d5646
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217393

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