diff options
author | Ayke van Laethem <[email protected]> | 2019-04-02 19:17:53 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-04-04 12:50:15 +0200 |
commit | 2523772b5d021472f4f15d548d9140b518690d54 (patch) | |
tree | 6e544c728cffeff496b8c54ce380404f50caa166 /Dockerfile | |
parent | 31d57fd3d190d0ff46f7c832a498cd4e3bd9090b (diff) | |
download | tinygo-2523772b5d021472f4f15d548d9140b518690d54.tar.gz tinygo-2523772b5d021472f4f15d548d9140b518690d54.zip |
arm: use the lld linker
LLD version 8 has added support for armv6m:
https://reviews.llvm.org/D55555
This means we can use LLD instead of arm-none-eabi-ld, eliminating our
dependency on GNU binutils.
There are small differences in code size, but never more than a few
bytes.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 46c102a10..2ace118dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,7 +59,7 @@ COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/lib /go/src/github. RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ apt-get update && \ - apt-get install -y apt-utils python3 make binutils-arm-none-eabi clang-8 && \ + apt-get install -y apt-utils python3 make clang-8 && \ make gen-device-nrf && make gen-device-stm32 && \ apt-get remove -y python3 make && \ apt-get autoremove -y && \ @@ -74,7 +74,7 @@ COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/lib /go/src/github. RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ apt-get update && \ - apt-get install -y apt-utils python3 make binutils-arm-none-eabi clang-8 binutils-avr gcc-avr avr-libc && \ + apt-get install -y apt-utils python3 make clang-8 binutils-avr gcc-avr avr-libc && \ make gen-device && \ apt-get remove -y python3 make && \ apt-get autoremove -y && \ |