indent on macOS, installed via homebrew, doesn't support -linux. Only run indent on linux hosts.
Signed-off-by: Anton Johansson <a...@rev.ng> --- target/hexagon/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build index abcf00ca1f..d26787a9b9 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -324,7 +324,7 @@ if idef_parser_enabled and 'hexagon-linux-user' in target_dirs ) indent = find_program('indent', required: false) - if indent.found() + if indent.found() and host_os == 'linux' idef_generated_tcg_c = custom_target( 'indent', input: idef_generated_tcg[0], -- 2.47.1