diff options
Diffstat (limited to 'recipes/mplayer/files/disable-executable-stack-test.patch')
| -rw-r--r-- | recipes/mplayer/files/disable-executable-stack-test.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/mplayer/files/disable-executable-stack-test.patch b/recipes/mplayer/files/disable-executable-stack-test.patch index dc8871b6ae..466e62cc8d 100644 --- a/recipes/mplayer/files/disable-executable-stack-test.patch +++ b/recipes/mplayer/files/disable-executable-stack-test.patch @@ -19,12 +19,12 @@ at runtime. -int main(void) { return 0; } -EOF -if cc_check -Wl,-z,noexecstack ; then -- _ld_extra="-Wl,-z,noexecstack $_ld_extra" +- extra_ldflags="-Wl,-z,noexecstack $extra_ldflags" - echores "yes" -else - echores "no" -fi +echores "no" - echocheck "ftello()" - # if we don't have ftello use the osdep/ compatibility module + # Dynamic linking flags + # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly) |
