diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-01-07 16:20:02 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-07 18:41:11 -0800 |
| commit | 14b3a5ccb2b4fc0da3dc1e08e5a68d45ba4adc83 (patch) | |
| tree | 7d591b0a75f63d02c77725bc9b79eb412a2d4b40 | |
| parent | 7b6d24f9de57ea2319e89c1e92e05e3e5db234f5 (diff) | |
| download | meta-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.bb | 2 |
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 | ||
| 21 | inherit cmake | 21 | inherit cmake |
| 22 | 22 | ||
| 23 | CFLAGS += "-fPIC" | ||
| 24 | |||
| 23 | do_install() { | 25 | do_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}/ |
