Hi Anatol,

I will confirm this against the other branches (dunfell and gatesgarth)
but your patch doesn't appear to be against the current master branch (and
it's unlikely one patch will apply to all branches).  Can you send out
specific patches against the head of tree for each branch you care about,
please?  Then I can get them merged for you.

Thanks,
-Joe.

[[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: 
Fix build error due to missing target config] On 21.03.09 (Tue 11:55) Anatol 
Belski wrote:

> 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 <[email protected]>
> ---
>  recipes-security/selinux/libselinux-python_3.0.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-security/selinux/libselinux-python_3.0.bb 
> b/recipes-security/selinux/libselinux-python_3.0.bb
> index 2b5438d..3c03df1 100644
> --- a/recipes-security/selinux/libselinux-python_3.0.bb
> +++ b/recipes-security/selinux/libselinux-python_3.0.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] = "b387a66f087b6d97713570e85ec89d89"
> -- 
> 2.17.1
> 

> 
> 
> 


-- 
-Joe MacDonald.
:wq

Attachment: signature.asc
Description: PGP signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52621): https://lists.yoctoproject.org/g/yocto/message/52621
Mute This Topic: https://lists.yoctoproject.org/mt/81199036/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to