[MPlayer-cvslog] CVS: main configure,1.1011,1.1012

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Jun 1 11:08:18 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv11810

Modified Files:
	configure 
Log Message:
Set stack non-executable where supported.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1011
retrieving revision 1.1012
diff -u -r1.1011 -r1.1012
--- configure	30 May 2005 08:57:29 -0000	1.1011
+++ configure	1 Jun 2005 09:08:15 -0000	1.1012
@@ -6728,6 +6728,17 @@
   echores "only used for x86"
 fi
 
+echocheck "compiler support for noexecstack"
+cat > $TMPC <<EOF
+int main(void) { return 0; }
+EOF
+if cc_check -Wl,-z,noexecstack ; then
+  _ld_extra="-Wl,-z,noexecstack $_ld_extra"
+  echores "yes"
+else
+  echores "no"
+fi
+
 echocheck "ftello()"
 # if we don't have ftello use the osdep/ compatibility module
 cat > $TMPC << EOF




More information about the MPlayer-cvslog mailing list