From f9f7f1b387c38e9cc0ba51305dee463986c4f579 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sun, 6 Mar 2016 21:54:34 -0500 Subject: [PATCH] android-arm: Add standard toolchain environmental variables. --- android-arm/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/android-arm/Dockerfile b/android-arm/Dockerfile index a386327..9a6b6dc 100644 --- a/android-arm/Dockerfile +++ b/android-arm/Dockerfile @@ -6,8 +6,14 @@ RUN apt-get update && apt-get install -y \ qemu-user \ qemu-user-static -ENV CROSS_TRIPLE arm-linux-androideabi -ENV CROSS_ROOT /usr/${CROSS_TRIPLE} +ENV CROSS_TRIPLE=arm-linux-androideabi +ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} +ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \ + AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \ + CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \ + CPP=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-cpp \ + CXX=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-g++ \ + LD=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ld ENV ANDROID_NDK_REVISION 10e RUN mkdir -p /build && \