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:
parent
c997201754
commit
4929ca1c66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user