diff --git a/meson.build b/meson.build index 1bedbd5605..e43ec9454d 100644 --- a/meson.build +++ b/meson.build @@ -1693,7 +1693,6 @@ if conf.get('BPF_FRAMEWORK') == 1 '-std=gnu11', '-fno-stack-protector', '-O2', - '-mkernel=5.2', '-mcpu=v3', '-mco-re', '-gbtf', @@ -1742,7 +1741,7 @@ if conf.get('BPF_FRAMEWORK') == 1 bpf_o_unstripped_cmd += ['-I.'] - if not meson.is_cross_build() and bpf_compiler == 'clang' + if not meson.is_cross_build() target_triplet_cmd = run_command('gcc', '-dumpmachine', check: false) if target_triplet_cmd.returncode() == 0 target_triplet = target_triplet_cmd.stdout().strip()