hedgewars/CMakeLists.txt
changeset 256 48aeb69ef572
parent 226 be2e08b0109f
child 271 f2f9a3d5b441
--- a/hedgewars/CMakeLists.txt	Sun Nov 19 16:10:37 2006 +0000
+++ b/hedgewars/CMakeLists.txt	Tue Nov 21 16:50:09 2006 +0000
@@ -61,7 +61,7 @@
 			message("Minimum required version of FreePascal is 1.9.4")
 		else (fpc_ver LESS "010904")
 			set(pascal_compiler ${fpc_executable})
-			set(pascal_compiler_flags "-B" "-Sd" "-Xs" "-OG" "-O2" "-FE${EXECUTABLE_OUTPUT_PATH}" "-Cs2000000" ${hwengine_project})
+			set(pascal_compiler_flags "-k-z" "-knoexecstack" "-B" "-Sd" "-Xs" "-OG" "-O2" "-FE${EXECUTABLE_OUTPUT_PATH}" "-Cs2000000" ${hwengine_project})
 		endif (fpc_ver LESS "010904")
 	endif (fpc_version)
 endif (dcc32version)