diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-18 18:55:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-18 18:56:58 +0300 |
commit | 593a19e517bb1c2c8aa02f97aa92f88afb238d3b (patch) | |
tree | b0108b78d9594800d1b508bf398aea225bc9992f /bootstrap.1 | |
parent | More cross-compiling work and cleanup (diff) | |
download | core-593a19e517bb1c2c8aa02f97aa92f88afb238d3b.tar.gz core-593a19e517bb1c2c8aa02f97aa92f88afb238d3b.zip |
Unset more variables when building dmake when cross-compiling
Diffstat (limited to 'bootstrap.1')
-rwxr-xr-x | bootstrap.1 | 4 |
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 |