]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: search for 'bpf-unknown-none' too
authorSam James <sam@gentoo.org>
Sat, 24 Aug 2024 12:09:47 +0000 (13:09 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 24 Aug 2024 17:31:59 +0000 (02:31 +0900)
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

index 5e0b666c64b17633a708387184de393e83f02995..fbc2bbdf2f22fcac47ec7c999c6f2dfaee2d3a00 100644 (file)
@@ -1110,6 +1110,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()