From 593a19e517bb1c2c8aa02f97aa92f88afb238d3b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 18 May 2011 18:55:07 +0300 Subject: [PATCH] Unset more variables when building dmake when cross-compiling --- bootstrap.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.1 b/bootstrap.1 index fa9cc06aa0aa..c67a7a740ab0 100755 --- a/bootstrap.1 +++ b/bootstrap.1 @@ -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