build: fix host build enviroment

This commit is contained in:
Sascha Kuehndel (InuSasha) 2016-11-04 21:35:39 +01:00
parent afab2210c7
commit 086a9ac6d6
No known key found for this signature in database
GPG Key ID: 15FED89617B88D1B

View File

@ -83,14 +83,14 @@ setup_toolchain() {
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)" >> $CMAKE_CONF
fi
export HOST_CC="$HOST_CC"
export HOST_CXX="$HOST_CXX"
export HOSTCC="$HOST_CC"
export HOSTCXX="$HOST_CXX"
export CC_FOR_BUILD="$HOST_CC"
export CXX_FOR_BUILD="$HOST_CXX"
export BUILD_CC="$HOST_CC"
export BUILD_CXX="$HOST_CXX"
export HOST_CC="$CC"
export HOST_CXX="$CXX"
export HOSTCC="$CC"
export HOSTCXX="$CXX"
export CC_FOR_BUILD="$CC"
export CXX_FOR_BUILD="$CXX"
export BUILD_CC="$CC"
export BUILD_CXX="$CXX"
;;
esac
}