Browse Source

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>
tags/n2.3.4
Reimar Döffinger Michael Niedermayer 11 years ago
parent
commit
45ca270ec9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      configure

+ 1
- 0
configure View File

@@ -4528,6 +4528,7 @@ EOF
fi

check_ldflags -Wl,--as-needed
check_ldflags -Wl,-z,noexecstack

if check_func dlopen; then
ldl=


Loading…
Cancel
Save