diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-06-05 15:50:29 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-06-08 14:55:29 +0200 |
commit | d60961764b69df2b47c5838cf8bcef8e01be90c9 (patch) | |
tree | 9dfdd4516ae966a7959dec5db7a00a011b894d74 /meta-oe | |
parent | f90b8d367d9bc8ffb02a70fbc23451a020653511 (diff) | |
download | meta-openembedded-contrib-d60961764b69df2b47c5838cf8bcef8e01be90c9.tar.gz |
meta-oe: override SECURITY_CFLAGS for llvm3.3
When compiling llvm3.3 and including meta_oe_security_flags.inc:
- on x86 (qemux86 e.g.), text relocation warnings appear ;
- on x86-64 (qemux86-64 e.g.), linking fails with the following
error message:
"relocation R_X86_64_PC32 against undefined symbol [...]
recompile with -fPIC"
Add llvm3.3 to the overrides list, so that it builds correctly.
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/conf/distro/include/meta_oe_security_flags.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc index 2565e32adf..b0d30a3e59 100644 --- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc +++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc @@ -3,5 +3,6 @@ SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}" # This has text reloc errors with the pie options enabled +SECURITY_CFLAGS_pn-llvm3.3 = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}" |