diff options
| author | Anatol Belski <anbelski@linux.microsoft.com> | 2021-03-09 11:55:11 +0000 |
|---|---|---|
| committer | Joe MacDonald <joe@deserted.net> | 2021-03-17 08:18:50 -0400 |
| commit | a5938609e1f8dbc969560c851e3ef5eb91e0845e (patch) | |
| tree | 0367edd8499dd69a479f43064aa285fc188a63b1 | |
| parent | 36db146d56535318d343dc9138358885356f2172 (diff) | |
| download | meta-selinux-gatesgarth.tar.gz | |
libselinux-python: Fix build error due to missing target configgatesgarth
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 <anbelski@linux.microsoft.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
| -rw-r--r-- | recipes-security/selinux/libselinux-python_3.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
| 4 | 4 | ||
| 5 | require ${BPN}.inc | 5 | require ${BPN}.inc |
| 6 | 6 | ||
| 7 | inherit python3targetconfig | ||
| 8 | |||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" |
| 8 | 10 | ||
| 9 | SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89" | 11 | SRC_URI[md5sum] = "b387a66f087b6d97713570e85ec89d89" |
