From 0459dd5d3f808405c8c868a1d54d2040ef56c458 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Sun, 5 Jun 2016 15:35:31 +0000 Subject: 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 --- meta-agl/conf/distro/poky-agl.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-agl/conf') 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}" -- cgit 1.2.3-korg