summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-01-07 16:20:02 -0800
committerKhem Raj <raj.khem@gmail.com>2025-01-07 18:41:11 -0800
commit14b3a5ccb2b4fc0da3dc1e08e5a68d45ba4adc83 (patch)
tree7d591b0a75f63d02c77725bc9b79eb412a2d4b40
parent7b6d24f9de57ea2319e89c1e92e05e3e5db234f5 (diff)
downloadmeta-openembedded-14b3a5ccb2b4fc0da3dc1e08e5a68d45ba4adc83.tar.gz
pocketpy: Add pic options to cflags
Ensures that PIC is always used to build Fixes error: relocation R_386_PC32 cannot be used against symbol 'LZ4_compress_fast_extState'; recompile with -fPIC Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.4.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.4.bb b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.4.bb
index 3544247b8c..3130a193d2 100644
--- a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.4.bb
+++ b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.4.bb
@@ -20,6 +20,8 @@ S = "${WORKDIR}/git"
20 20
21inherit cmake 21inherit cmake
22 22
23CFLAGS += "-fPIC"
24
23do_install() { 25do_install() {
24 install -d ${D}${libdir} 26 install -d ${D}${libdir}
25 install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/ 27 install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/