1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-07 14:00:57 +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
parent 244c5a943d
commit e2b85a5105

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