summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-12-05 21:45:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-08 10:48:32 +0000
commit804aa082e4c4fdd4881ff668f52790bea818eabb (patch)
treeb72847d8deb61508d54bd24cd3d4cf6223e5551c
parent3c250b743bce6cc63ff2949deea0adefe82d933c (diff)
downloadopenembedded-core-804aa082e4c4fdd4881ff668f52790bea818eabb.tar.gz
bluez5: enable position independent executables flag
texrels are generated while compiling on x86/clang because pic/pie flags that are passed via bitbake do not make it everywhere evenly. --enable-pie is default way of getting it enabled in bluez5 PIE is enabled by default which ensures that textrels are not generated Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index a8eaba1dd6..976297127d 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -65,6 +65,7 @@ EXTRA_OECONF = "\
--enable-test \
--enable-datafiles \
--enable-library \
+ --enable-pie \
--without-zsh-completion-dir \
"