meta_oe_security_flags.inc: Disable PIE for luajit
PATCH 1/2 meta_oe_security_flags.inc: Disable PIE for luajit
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/conf/distro/include/meta_oe_security_flags.inc | 7 +++++++ 1 file changed, 7 insertions(+)
meta-oe/conf/distro/include/meta_oe_security_flags.inc +7 -0
@@ -17,3 +17,10 @@ SECURITY_CFLAGS_pn-libcdio = "${SECURITY_NO_PIE_CFLAGS}" #| /usr/src/debug/glibc/2.24-r0/git/csu/elf-init.c:86: undefined reference to `__init_array_start' SECURITY_CFLAGS_pn-libvdpau = "${SECURITY_NO_PIE_CFLAGS}" + +#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: lj_err_dyn.o: relocation R_X86_64_TPOFF32 against `static_uex' can not be used when making a shared object; recompile with -fPIC +#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: final link failed: Nonrepresentable section on output +#| collect2: error: ld returned 1 exit status +#| make[1]: *** [Makefile:675: libluajit.so] Error 1 +SECURITY_CFLAGS_pn-luajit = "${SECURITY_NO_PIE_CFLAGS}" +
Signature · 1 line
2.10.2
PATCH 2/2 mpv: Add PACKAGECONFIG for vaapi
Now that we have libva its important to enable/disable vaapi explicitly
Fixes
WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libva-x11, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libva, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb +1 -0
@@ -27,6 +27,7 @@ PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" +PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva" SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" EXTRA_OECONF = " \
Signature · 1 line
2.10.2