[MPlayer-cvslog] r30325 - trunk/configure
reimar
subversion at mplayerhq.hu
Sat Jan 16 17:39:46 CET 2010
Author: reimar
Date: Sat Jan 16 17:39:46 2010
New Revision: 30325
Log:
Manually add --nxcompat --no-seh --dynamicbase to linker flags if available,
works around binutils' policy of making exploits as easy as possible by default.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat Jan 16 17:22:57 2010 (r30324)
+++ trunk/configure Sat Jan 16 17:39:46 2010 (r30325)
@@ -8189,6 +8189,14 @@ else
echores "no"
fi
+echocheck "linker support for --nxcompat --no-seh --dynamicbase"
+if cc_check "-Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase" ; then
+ extra_ldflags="-Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase $extra_ldflags"
+ echores "yes"
+else
+ echores "no"
+fi
+
# Dynamic linking flags
# (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly)
More information about the MPlayer-cvslog
mailing list