openssl-native_0.9.8j.bb : set the noexec bit for stacks
authorGraeme Gregory <dp@xora.org.uk>
Thu, 3 Dec 2009 13:16:11 +0000 (13:16 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Thu, 3 Dec 2009 13:16:11 +0000 (13:16 +0000)
This is needed to stop tripping up security protections on Fedora 12 and
probably other selinux using distros

recipes/openssl/openssl-native_0.9.8j.bb

index 976a4d7..eba3ba9 100644 (file)
@@ -2,7 +2,7 @@ inherit pkgconfig native
 
 require openssl.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # This flag can contain target options (e.g -mfpu=neon for armv7-a systems)
 export FULL_OPTIMIZATION = " "
@@ -14,6 +14,8 @@ SRC_URI += "file://configure-targets.patch;patch=1 \
 
 PARALLEL_MAKE = ""
 
+CFLAG += " -Wa,--noexecstack "
+
 do_install() {
        :
 }