From 623a13bb6c6435911b7b45b19c488d751e65a985 Mon Sep 17 00:00:00 2001 From: Niklas Hauser Date: Sat, 20 Jan 2024 22:50:30 +0100 Subject: [PATCH] [scons] Hardcode gcc-12 compiler suffix on macOS --- tools/build_script_generator/scons/resources/SConscript.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build_script_generator/scons/resources/SConscript.in b/tools/build_script_generator/scons/resources/SConscript.in index 3381e6b540..74e4f04e0a 100644 --- a/tools/build_script_generator/scons/resources/SConscript.in +++ b/tools/build_script_generator/scons/resources/SConscript.in @@ -23,8 +23,8 @@ env["COMPILERPREFIX"] = "avr-" env["COMPILERPREFIX"] = "arm-none-eabi-" %% endif %% if family == "darwin" -# Using homebrew gcc on macOS instead of clang -env["COMPILERSUFFIX"] = env.Detect(["gcc-12", "gcc-11", "gcc-10"])[3:] +# Using homebrew gcc-12 on macOS instead of clang +env["COMPILERSUFFIX"] = "-12" %% endif %% endif