Mark libcompiler_rt as not needed executable stack on powerpc.
Reviewed and tested by: nwhitehorn
This commit is contained in:
parent
9f9569662f
commit
c42c9d5646
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217393
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user