diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-07 00:25:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-05-13 20:24:40 +0300 |
commit | eaf8e0939a3d8b724dec7ff48d4ada48bbfe3ebc (patch) | |
tree | b6c3cac34c1c8e4a88065a42362b8aa7e10a4513 /bootstrap.1 | |
parent | 3a44b0d21d8d37943643330d8f9aa4152e613c8f (diff) |
Some initial baby steps towards cross-compilation
And some baby steps for cross-compiling for iOS in particular.
Diffstat (limited to 'bootstrap.1')
-rw-r--r-- | bootstrap.1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap.1 b/bootstrap.1 index 3daa1e25321c..cae59ce82f8e 100644 --- a/bootstrap.1 +++ b/bootstrap.1 @@ -17,6 +17,14 @@ if test "$BUILD_DMAKE" != "NO"; then if test ! -x "$SRC_ROOT/dmake/dmake$EXEEXT"; then cd "$SRC_ROOT/dmake" || exit + # If cross-compiling then don't use the cross compilers to build dmake. + if test "$CROSS_COMPILING" = "yes"; then + CC="" + CXX="" + export CC + export CXX + fi + # Special case! The w32/tcsh build needs CC pointing to the MSVC++ compiler # but we need a cygwin/gcc build dmake to understand the posix paths if test "$GUI" = "WNT"; then |