From c517cd35c53578c13f2fe5c88b0101ba343f1f68 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 14 Mar 2016 17:53:33 -0400 Subject: [PATCH] linux-armv6: Set environmental variables. --- linux-armv6/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux-armv6/Dockerfile b/linux-armv6/Dockerfile index 57a6460..dd8d587 100644 --- a/linux-armv6/Dockerfile +++ b/linux-armv6/Dockerfile @@ -13,6 +13,12 @@ RUN apt-get update && apt-get install -y \ ENV CROSS_TRIPLE arm-linux-gnueabihf ENV CROSS_ROOT /usr/${CROSS_TRIPLE} +ENV AS=/usr/bin/${CROSS_TRIPLE}-as \ + AR=/usr/bin/${CROSS_TRIPLE}-ar \ + CC=/usr/bin/${CROSS_TRIPLE}-gcc \ + CPP=/usr/bin/${CROSS_TRIPLE}-cpp \ + CXX=/usr/bin/${CROSS_TRIPLE}-g++ \ + LD=/usr/bin/${CROSS_TRIPLE}-ld # Raspberry Pi is ARMv6+VFP2, Debian armhf is ARMv7+VFP3 # Since this Dockerfile is targeting linux-arm from Raspberry Pi onward,