mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-26 12:09:02 +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) \
|
-T$(LDSCRIPT) \
|
||||||
-nostartfiles \
|
-nostartfiles \
|
||||||
-Wl,--gc-sections \
|
-Wl,--gc-sections \
|
||||||
|
-mcpu=cortex-m3 \
|
||||||
-mthumb \
|
-mthumb \
|
||||||
-march=armv7 \
|
|
||||||
-mfix-cortex-m3-ldrd \
|
|
||||||
-msoft-float
|
-msoft-float
|
||||||
|
|
||||||
all: $(NAME).bin
|
all: $(NAME).bin
|
||||||
|
Loading…
Reference in New Issue
Block a user