From ab7ce3d5f68b6f00f155d892b9ba510ed95f8afa Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 9 Mar 2021 11:55:11 +0000 Subject: libselinux-python: Fix build error due to missing target config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the error below: gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’ Without inheriting the config, supposedly a wrong compiler is used. Signed-off-by: Anatol Belski Signed-off-by: Joe MacDonald --- recipes-security/selinux/libselinux-python_3.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-security/selinux') diff --git a/recipes-security/selinux/libselinux-python_3.1.bb b/recipes-security/selinux/libselinux-python_3.1.bb index 9493083..854eca9 100644 --- a/recipes-security/selinux/libselinux-python_3.1.bb +++ b/recipes-security/selinux/libselinux-python_3.1.bb @@ -4,6 +4,8 @@ SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX require ${BPN}.inc +inherit python3targetconfig + LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" SRC_URI[md5sum] = "693680c021feb69a4b258b0370021461" -- cgit v1.2.3-54-g00ecf