[MLton-commit] r7481
adam at mlton.org
adam at mlton.org
Thu Jun 10 22:11:53 PDT 2010
Add noexecstack linker command for Linux, this avoids unnecessary executable stack
----------------------------------------------------------------------
U mlton/trunk/bin/mlton-script
----------------------------------------------------------------------
Modified: mlton/trunk/bin/mlton-script
===================================================================
--- mlton/trunk/bin/mlton-script 2010-06-08 14:59:40 UTC (rev 7480)
+++ mlton/trunk/bin/mlton-script 2010-06-11 05:11:53 UTC (rev 7481)
@@ -131,6 +131,7 @@
-target-link-opt freebsd '-L/usr/local/lib/' \
-target-link-opt aix '-maix64' \
-target-link-opt ia64 "$ia64hpux" \
+ -target-link-opt linux '-Wl,-znoexecstack' \
-target-link-opt mingw \
'-lws2_32 -lkernel32 -lpsapi -lnetapi32 -lwinmm' \
-target-link-opt mingw '-Wl,--enable-stdcall-fixup' \
More information about the MLton-commit
mailing list