1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

fix(core): fix bootloader_emu macOS build

[no changelog]
This commit is contained in:
cepetr 2024-10-31 21:15:18 +01:00 committed by cepetr
parent c997201754
commit 4929ca1c66

View File

@ -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