aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-distro/conf/distro
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-09 00:57:35 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-09 16:12:34 +0000
commit9bf4694b3911a9de7d8d216fa0d8f35e1a8aac0b (patch)
treee11e01733abe70b4175f9b1127ce86495de49606 /meta-agl-distro/conf/distro
parent2587f94bda1fde754f753e2d188ccdd064b1d711 (diff)
LLVM3.3 build fix on qemux86-64
The build for qemux86-64 will fail on llvm3.3 b/c of the SECURITY_CFLAGS and SECURITY_LDFLAGS (due to -fstack-protector-strong). Fix it by blacklisting the flags for llvm3.3 . Change-Id: I506c398521b59877d78e56d698571e272b52e94a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-distro/conf/distro')
-rw-r--r--meta-agl-distro/conf/distro/poky-agl.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf
index 0fc9fb20b..ad779bbdc 100644
--- a/meta-agl-distro/conf/distro/poky-agl.conf
+++ b/meta-agl-distro/conf/distro/poky-agl.conf
@@ -74,7 +74,8 @@ PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
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}"
+SECURITY_CFLAGS_pn-llvm3.3 = ""
+SECURITY_LDFLAGS_remove_pn-llvm3.3 = "-fstack-protector-strong"
SECURITY_STRINGFORMAT_pn-gpm = ""
SECURITY_CFLAGS_pn-libdbus-c++ = ""
SECURITY_LDFLAGS_pn-libdbus-c++ = ""