Index: fpcsrc/compiler/utils/samplecfg
===================================================================
--- fpcsrc/compiler/utils/samplecfg (version 2.2.2)
+++ fpcsrc/compiler/utils/samplecfg (working copy)
@@ -289,6 +289,11 @@
-k--build-id
# -----------------------
+# Do not mark executables as requiring an executable stack (fpc-bug #11563)
+# -----------------------
+-k-z noexecstack
+
+# -----------------------
# Set Filenames and Paths
# -----------------------