diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-08-21 17:45:38 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-08-21 17:45:38 +0200 |
| commit | f3f664b6dd8181c079a7c495390063336396532e (patch) | |
| tree | 26aef16df3bbed863bee55d3a91412f06e66b27b | |
| parent | 4ca87806591ddb110edccd91e7b581c40a1beb72 (diff) | |
| download | tuxcmd-f3f664b6dd8181c079a7c495390063336396532e.tar.xz | |
Mark stack as not executable, fixes SELinux issues
http://bugs.freepascal.org/view.php?id=11563
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,7 +39,8 @@ LIB_SUFFIX=`if test \`uname -m\` = x86_64; then echo 64; fi` # -CR and -Cr must be disabled here, causes range check errors with gnome-power-manager # -Cg generates internal compiler errors on i386 # -XX prevents linking errors of unresolved and unused symbols -CFLAGS= -vweh -Un -Ci -Co -XX +# "-k-z noexecstack" (with quotes as a single parameter) avoids marking stack as executable, allowing to work correctly with SELinux in Enforcing mode +CFLAGS= -vweh -Un -Ci -Co -XX "-k-z noexecstack" |
