summaryrefslogtreecommitdiff
path: root/bootstrap.1
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-18 18:55:07 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-18 18:56:58 +0300
commit593a19e517bb1c2c8aa02f97aa92f88afb238d3b (patch)
treeb0108b78d9594800d1b508bf398aea225bc9992f /bootstrap.1
parent89b361c0a45741668c7cec90f871c635905887c6 (diff)
Unset more variables when building dmake when cross-compiling
Diffstat (limited to 'bootstrap.1')
-rwxr-xr-xbootstrap.14
1 files 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