mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 14:15:44 +01:00
linux-armv6: Set environmental variables.
This commit is contained in:
parent
c6eb4fe9e1
commit
c517cd35c5
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user