configure: add noexecstack to linker options if supported.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit b7082d953f)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Reimar Döffinger 2014-09-21 09:58:10 +01:00 committed by Michael Niedermayer
parent 348b87b9bd
commit ef803afa76

1
configure vendored
View File

@ -2988,6 +2988,7 @@ if enabled asm; then
fi
check_ldflags -Wl,--as-needed
check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=