From 74cfcd377ab8e362b4fa53a0a9d913cb4c19f6de Mon Sep 17 00:00:00 2001 From: LongYinan Date: Wed, 4 May 2022 14:47:54 +0800 Subject: [PATCH] build: export C_INCLUDE_PATH in aarch64 linux gnu image --- debian-aarch64.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian-aarch64.Dockerfile b/debian-aarch64.Dockerfile index 30d52a0c..15556f9f 100644 --- a/debian-aarch64.Dockerfile +++ b/debian-aarch64.Dockerfile @@ -6,7 +6,8 @@ ENV RUSTUP_HOME=/usr/local/rustup \ CC=clang \ CXX=clang++ \ CC_aarch64_unknown_linux_gnu=clang \ - CXX_aarch64_unknown_linux_gnu=clang++ + CXX_aarch64_unknown_linux_gnu=clang++ \ + 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 - && \ echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" >> /etc/apt/sources.list && \