Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: configure.ac

Issue 2640005: Fix tools to run on the host system during cross-compile. (Closed) Base URL: ssh://gitrw.chromium.org/libchewing.git
Patch Set: Change HOST_CC to CC_FOR_BUILD Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/tools/Makefile.am » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: configure.ac
diff --git a/configure.ac b/configure.ac
index c8241d512710bf2ff2c1d30a90998c80bb87e630..035490adbfb39597b43d122c49967d7952d95b01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,9 @@ AC_PROG_CC
AC_LANG(C)
AC_C_CONST
+CC_FOR_BUILD=${CC_FOR_BUILD-${CC}}
+AC_SUBST(CC_FOR_BUILD)
+
# Checks if doxygen is avaiable
AC_PATH_PROG(DOXYGEN, doxygen, no)
AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN != xno)
« no previous file with comments | « no previous file | src/tools/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698