Unset more variables when building dmake when cross-compiling

This commit is contained in:
Tor Lillqvist 2011-05-18 18:55:07 +03:00
parent 89b361c0a4
commit 593a19e517

View File

@ -20,11 +20,11 @@ if test "$BUILD_DMAKE" != "NO"; then
# If cross-compiling then don't use the cross compilers to build dmake.
if test "$GUI_FOR_BUILD" = "WNT"; then
# Let the Cygwin gcc be found
export CC=""
export CXX=""
unset CC CXX AR NM OBJDUMP PKG_CONFIG RANLIB STRIP
elif test "$CROSS_COMPILING" = "YES"; then
export CC="$CC_FOR_BUILD"
export CXX="$CXX_FOR_BUILD"
unset AR NM OBJDUMP PKG_CONFIG RANLIB STRIP
fi
# For normal unixy systems