[linux] Update images to ensure proper triples

Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
Steeve Morin
2014-11-05 23:10:24 +01:00
parent dc49eb584f
commit ff2d529eb5
2 changed files with 7 additions and 8 deletions

View File

@ -9,4 +9,7 @@ ENV LD_LIBRARY_PATH ${CROSS_ROOT}/lib:${LD_LIBRARY_PATH}
RUN mkdir -p ${CROSS_ROOT} && \
cd /usr/bin && \
ln -s ${CROSS_TRIPLE}-gcc ${CROSS_TRIPLE}-cc && \
ln -s ${CROSS_TRIPLE}-g++ ${CROSS_TRIPLE}-c++
ln -s ${CROSS_TRIPLE}-cpp ${CROSS_TRIPLE}-c++ && \
for i in ranlib nm ar; do \
ln -s ${CROSS_TRIPLE}-gcc-${i}-4.7 ${CROSS_TRIPLE}-${i} ; \
done