libicp: Link with -z noexecstack for ld.bfd.
The assembly source files do not contain GNU-stack annotations, so ld.bfd defaults to using an executable stack.
This commit is contained in:
parent
99df55bbb7
commit
7e3e70ce21
@ -116,4 +116,6 @@ CFLAGS.b3_ppc64le_sse2.S = -DLOCORE
|
||||
CFLAGS.b3_ppc64le_sse41.S = -DLOCORE
|
||||
|
||||
|
||||
LDFLAGS.bfd+= -Wl,-znoexecstack
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -109,4 +109,6 @@ CFLAGS.b3_ppc64le_sse2.S = -DLOCORE
|
||||
CFLAGS.b3_ppc64le_sse41.S = -DLOCORE
|
||||
|
||||
|
||||
LDFLAGS.bfd+= -Wl,-znoexecstack
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user