Unset more variables when building dmake when cross-compiling
This commit is contained in:
@@ -20,11 +20,11 @@ if test "$BUILD_DMAKE" != "NO"; then
|
|||||||
# If cross-compiling then don't use the cross compilers to build dmake.
|
# If cross-compiling then don't use the cross compilers to build dmake.
|
||||||
if test "$GUI_FOR_BUILD" = "WNT"; then
|
if test "$GUI_FOR_BUILD" = "WNT"; then
|
||||||
# Let the Cygwin gcc be found
|
# Let the Cygwin gcc be found
|
||||||
export CC=""
|
unset CC CXX AR NM OBJDUMP PKG_CONFIG RANLIB STRIP
|
||||||
export CXX=""
|
|
||||||
elif test "$CROSS_COMPILING" = "YES"; then
|
elif test "$CROSS_COMPILING" = "YES"; then
|
||||||
export CC="$CC_FOR_BUILD"
|
export CC="$CC_FOR_BUILD"
|
||||||
export CXX="$CXX_FOR_BUILD"
|
export CXX="$CXX_FOR_BUILD"
|
||||||
|
unset AR NM OBJDUMP PKG_CONFIG RANLIB STRIP
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For normal unixy systems
|
# For normal unixy systems
|
||||||
|
Reference in New Issue
Block a user