summaryrefslogtreecommitdiff
path: root/recipes/mplayer/files/disable-executable-stack-test.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-11 22:27:21 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-11 22:27:21 +0300
commitd8b110fcf31557cc403f618e81c6db79ef407cb4 (patch)
tree19c2a9a80d28560225eb7e23cfebbf4bcc5fb94f /recipes/mplayer/files/disable-executable-stack-test.patch
parent1f951c59c5218d9a4a0cf43e082365110af1b94d (diff)
mplayer-svn: fix building for armv4t, arm-oabi, collie
* refresh disable-executable-stack-test.patch * lavc: replace 'bx lr' with 'mov pc, lr' if no thumb interworking is enabled * libmpeg2: disable usage of pld insn if !HAVE_PLD Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/mplayer/files/disable-executable-stack-test.patch')
-rw-r--r--recipes/mplayer/files/disable-executable-stack-test.patch6
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)