mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-02 02:41:28 +00:00
Set -mcpu=cortex-m3 linker flag.
This fixes a bug with Ubuntu 17.04. It includes the correct architecture (armv7-m) and also includes the flag -mfix-cortex-m3-ldrd as default.
This commit is contained in:
parent
247cbd2ff1
commit
db19dd1306
@ -71,9 +71,8 @@ LDFLAGS += --static \
|
||||
-T$(LDSCRIPT) \
|
||||
-nostartfiles \
|
||||
-Wl,--gc-sections \
|
||||
-mcpu=cortex-m3 \
|
||||
-mthumb \
|
||||
-march=armv7 \
|
||||
-mfix-cortex-m3-ldrd \
|
||||
-msoft-float
|
||||
|
||||
all: $(NAME).bin
|
||||
|
Loading…
Reference in New Issue
Block a user