build: add --sysroot flag to clang/clang++ in aarch64 linux gnu image
This commit is contained in:
parent
74cfcd377a
commit
e7464383d3
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ ENV RUSTUP_HOME=/usr/local/rustup \
|
|||
PATH=/usr/local/cargo/bin:$PATH \
|
||||
CC=clang \
|
||||
CXX=clang++ \
|
||||
CC_aarch64_unknown_linux_gnu=clang \
|
||||
CXX_aarch64_unknown_linux_gnu=clang++ \
|
||||
CC_aarch64_unknown_linux_gnu="clang --sysroot=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot" \
|
||||
CXX_aarch64_unknown_linux_gnu="clang++ --sysroot=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot" \
|
||||
C_INCLUDE_PATH=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot/usr/include
|
||||
|
||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
|
||||
|
|
Loading…
Reference in a new issue