Skip to content

Commit

Permalink
fix(core): fix bootloader_emu macOS build
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
cepetr committed Nov 4, 2024
1 parent 771f7a2 commit 2fa2b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/SConscript.bootloader_emu
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ rust = env.Command(
env.Append(LINKFLAGS=f'-L{RUST_LIBDIR}')
env.Append(LINKFLAGS=f'-l{RUST_LIB}')
env.Append(LINKFLAGS='-lm')
env.Append(LINKFLAGS='-Wl,--gc-sections')
env.Append(LINKFLAGS='-Wl,' + ('-dead_strip' if env['PLATFORM'] == 'darwin' else '--gc-sections'))

#
# Program objects
Expand Down

0 comments on commit 2fa2b85

Please sign in to comment.