aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bachmann <mbc@iot.bzh>2016-06-05 15:35:31 +0000
committerGerrit Code Review <gerrit@172.30.200.200>2016-06-07 15:04:06 +0000
commit0459dd5d3f808405c8c868a1d54d2040ef56c458 (patch)
tree199fcb3846b2245f80a2d33a69e5c24c02959b98
parent5c11aa79a41e431949a8dcfcde3ebb4386f683fa (diff)
Fix QEMU compilation with security flags
Since we added compilation security flags (https://gerrit. automotivelinux.org/gerrit/#/c/5631/), QEMU builds break when compiling llvm3.3, which is a Mesa dependency. (most hardware boards do not complain because they do not rely on Mesa, but on specific graphics drivers instead) Problem was reported on the mailing list : https://lists.linuxfoundation.org/pipermail/ automotive-discussions/2016-June/002091.html This a local backport of the following upstream patch : http://lists.openembedded.org/pipermail/openembedded-devel/ 2016-June/107727.html Change-Id: Idd378802b303c16de5c0410d533d1680fcef4bb7 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
-rw-r--r--meta-agl/conf/distro/poky-agl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-agl/conf/distro/poky-agl.conf b/meta-agl/conf/distro/poky-agl.conf
index e9f5a1c2c..6d6f120fe 100644
--- a/meta-agl/conf/distro/poky-agl.conf
+++ b/meta-agl/conf/distro/poky-agl.conf
@@ -137,3 +137,6 @@ BB_DANGLINGAPPENDS_WARNONLY = "1"
# enforce security-related compiler flags by default
require conf/distro/include/security_flags.inc
+# required overrides, upstreamed but not merged yet:
+# http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107727.html
+SECURITY_CFLAGS_pn-llvm3.3 = "${SECURITY_NO_PIE_CFLAGS}"