diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-14 16:46:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-14 16:46:02 +0200 |
commit | 839e954aaa72ef62f65416d177f829e681c15466 (patch) | |
tree | 366c3be1239c4112295f7f2db97a8be9ef4f0c46 /src/auto | |
parent | 429fcfbf9a9275367fe9441a50a3dcd773497d84 (diff) | |
download | vim-git-839e954aaa72ef62f65416d177f829e681c15466.tar.gz |
patch 7.4.1733v7.4.1733
Problem: "make install" doesn't know about cross-compiling. (Christian
Neukirchen)
Solution: Add CROSS_COMPILING. (closes #740)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auto/configure b/src/auto/configure index a7082300b..91b075d95 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -721,6 +721,7 @@ OS_EXTRA_OBJ OS_EXTRA_SRC XCODE_SELECT CPP_MM +CROSS_COMPILING STRIP AWK FGREP @@ -4113,11 +4114,14 @@ else $as_echo "no" >&6; } fi +CROSS_COMPILING= if test "$cross_compiling" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&5 $as_echo "cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&6; } + CROSS_COMPILING=1 fi + test "$GCC" = yes && CPP_MM=M; if test -f ./toolcheck; then |