Skip to content

Commit

Permalink
[scons] Hardcode gcc-12 compiler suffix on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Jan 21, 2024
1 parent c5dc4b1 commit 623a13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build_script_generator/scons/resources/SConscript.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 623a13b

Please sign in to comment.