diff options
author | Sam James <sam@gentoo.org> | 2024-08-23 17:08:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-25 14:56:09 +0100 |
commit | de67dbf4abdef923ca8f7af0e48d4fcc5b220a96 (patch) | |
tree | 6e24f284e0b20d27b67da736f548df675a73497d /sys-apps/systemd/files | |
parent | app-admin/ttyplot: 1.7.0 (diff) | |
download | gentoo-de67dbf4abdef923ca8f7af0e48d4fcc5b220a96.tar.gz gentoo-de67dbf4abdef923ca8f7af0e48d4fcc5b220a96.tar.bz2 gentoo-de67dbf4abdef923ca8f7af0e48d4fcc5b220a96.zip |
sys-apps/systemd: wire up BPF support
Clang support is not yet done.
Bug: https://bugs.gentoo.org/917228
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/systemd/files')
-rw-r--r-- | sys-apps/systemd/files/256-bpf-gcc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/256-bpf-gcc.patch b/sys-apps/systemd/files/256-bpf-gcc.patch new file mode 100644 index 000000000000..0570695d397c --- /dev/null +++ b/sys-apps/systemd/files/256-bpf-gcc.patch @@ -0,0 +1,26 @@ +https://github.com/systemd/systemd/commit/dde6f1d7456db7aa72d24b1d6956b419b6f9945c + +From dde6f1d7456db7aa72d24b1d6956b419b6f9945c Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sat, 24 Aug 2024 13:09:47 +0100 +Subject: [PATCH] meson: search for 'bpf-unknown-none' too + +We currently search for 'bpf-gcc' and 'bpf-none-gcc'. Gentoo's +sys-devel/bpf-toolchain package uses 'bpf-unknown-none-gcc', as does Fedora's +cross-binutils. Search for this name too. +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index 5e0b666c64b17..fbc2bbdf2f22f 100644 +--- a/meson.build ++++ b/meson.build +@@ -1109,6 +1109,7 @@ else + elif bpf_compiler == 'gcc' + bpf_gcc = find_program('bpf-gcc', + 'bpf-none-gcc', ++ 'bpf-unknown-none-gcc', + required : true, + version : '>= 13.1.0') + bpf_gcc_found = bpf_gcc.found() |