linux-ppc64le: Add toolchain environmental variables.

This commit is contained in:
Matt McCormick 2016-03-19 14:53:43 -04:00
parent 5c7abec2c4
commit 58e30d987d

View File

@ -12,6 +12,12 @@ RUN apt-get update && apt-get install -y \
ENV CROSS_TRIPLE powerpc64le-linux-gnu
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
WORKDIR /usr/src