From 08a10c313763dc20ec1e16a1809b55e4473c128a Mon Sep 17 00:00:00 2001 From: Steeve Morin Date: Wed, 5 Nov 2014 23:39:49 +0100 Subject: [PATCH] [linux] use g++ as c++ Signed-off-by: Steeve Morin --- linux-x64/Dockerfile | 2 +- linux-x86/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-x64/Dockerfile b/linux-x64/Dockerfile index eb8d061..7731069 100644 --- a/linux-x64/Dockerfile +++ b/linux-x64/Dockerfile @@ -9,7 +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}-cpp ${CROSS_TRIPLE}-c++ && \ + ln -s ${CROSS_TRIPLE}-g++ ${CROSS_TRIPLE}-c++ && \ for i in ranlib nm ar; do \ ln -s ${CROSS_TRIPLE}-gcc-${i}-4.7 ${CROSS_TRIPLE}-${i} ; \ done diff --git a/linux-x86/Dockerfile b/linux-x86/Dockerfile index f327460..66dc14c 100644 --- a/linux-x86/Dockerfile +++ b/linux-x86/Dockerfile @@ -15,7 +15,7 @@ RUN mkdir -p ${CROSS_ROOT} && \ cd /usr/bin && \ chmod +x ${CROSS_TRIPLE}.sh && \ ln -s x86_64-linux-gnu-gcc x86_64-linux-gnu-cc && \ - ln -s x86_64-linux-gnu-cpp x86_64-linux-gnu-c++ && \ + ln -s x86_64-linux-gnu-g++ x86_64-linux-gnu-c++ && \ ln -s ${CROSS_TRIPLE}.sh ${CROSS_TRIPLE}-cc && \ ln -s ${CROSS_TRIPLE}.sh ${CROSS_TRIPLE}-c++ && \ for i in ranlib nm ar; do \