aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openssl
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-12-03 13:16:11 +0000
committerGraeme Gregory <dp@xora.org.uk>2009-12-03 13:16:11 +0000
commit7159f335cf884e143cb7dcbb0f448bca60bb43ae (patch)
tree77a13485f19acba6bb28c00746bf78be2a575784 /recipes/openssl
parent1ac69df768a11cb12ca59a4759cd8a86cab6aa97 (diff)
downloadopenembedded-7159f335cf884e143cb7dcbb0f448bca60bb43ae.tar.gz
openembedded-7159f335cf884e143cb7dcbb0f448bca60bb43ae.tar.bz2
openembedded-7159f335cf884e143cb7dcbb0f448bca60bb43ae.zip
openssl-native_0.9.8j.bb : set the noexec bit for stacks
This is needed to stop tripping up security protections on Fedora 12 and probably other selinux using distros
Diffstat (limited to 'recipes/openssl')
-rw-r--r--recipes/openssl/openssl-native_0.9.8j.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/openssl/openssl-native_0.9.8j.bb b/recipes/openssl/openssl-native_0.9.8j.bb
index 976a4d7835..eba3ba9903 100644
--- a/recipes/openssl/openssl-native_0.9.8j.bb
+++ b/recipes/openssl/openssl-native_0.9.8j.bb
@@ -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() {
:
}