Fixed toolchain paths

This commit is contained in:
Nadav Ruskin 2018-04-30 06:09:35 -04:00
parent ffa14f8c9a
commit 143c79e5cd

View File

@ -24,12 +24,12 @@ RUN apt-get update && \
ENV CROSS_TRIPLE aarch64-unknown-linux-gnueabi ENV CROSS_TRIPLE aarch64-unknown-linux-gnueabi
ENV CROSS_ROOT /opt/x-tools/${CROSS_TRIPLE} ENV CROSS_ROOT /opt/x-tools/${CROSS_TRIPLE}
ENV AS=/opt/x-tools/${CROSS_TRIPLE}-as \ ENV AS=/opt/x-tools/${CROSS_TRIPLE}/bin/${CROSS_TRIPLE}-as \
AR=/opt/x-tools/${CROSS_TRIPLE}-ar \ AR=/opt/x-tools/${CROSS_TRIPLE}/bin/${CROSS_TRIPLE}-ar \
CC=/opt/x-tools/${CROSS_TRIPLE}-gcc \ CC=/opt/x-tools/${CROSS_TRIPLE}/bin/${CROSS_TRIPLE}-gcc \
CPP=/opt/x-tools/${CROSS_TRIPLE}-cpp \ CPP=/opt/x-tools/${CROSS_TRIPLE}/bin/${CROSS_TRIPLE}-cpp \
CXX=/opt/x-tools/${CROSS_TRIPLE}-g++ \ CXX=/opt/x-tools/${CROSS_TRIPLE}/bin/${CROSS_TRIPLE}-g++ \
LD=/opt/x-tools/${CROSS_TRIPLE}-ld LD=/opt/x-tools/${CROSS_TRIPLE}/bin/${CROSS_TRIPLE}-ld
ENV DEFAULT_DOCKCROSS_IMAGE dockcross/linux-arm64 ENV DEFAULT_DOCKCROSS_IMAGE dockcross/linux-arm64
WORKDIR /work WORKDIR /work