Mercurial > vim
diff src/auto/configure @ 8893:d5d2e48666bd v7.4.1733
commit https://github.com/vim/vim/commit/839e954aaa72ef62f65416d177f829e681c15466
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 14 16:46:02 2016 +0200
patch 7.4.1733
Problem: "make install" doesn't know about cross-compiling. (Christian
Neukirchen)
Solution: Add CROSS_COMPILING. (closes https://github.com/vim/vim/issues/740)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Apr 2016 17:00:05 +0200 |
parents | caed4b2d305f |
children | 53e53aeb35ad |
line wrap: on
line diff
--- 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,10 +4114,13 @@ 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; } -fi + CROSS_COMPILING=1 +fi + test "$GCC" = yes && CPP_MM=M;