config_host.mk.in | 1 + configure.ac | 11 +++++++++++ 2 files changed, 12 insertions(+)
New commits: commit fbbd58dc587bdd16edc7d780a17b4261d27478e6 Author: Jan Holesovsky <ke...@collabora.com> Date: Sat Feb 7 18:11:30 2015 +0100 Allow setting ICECC_VERSION in the autogen.input. That way you can avoid having to set ICECC_VERSION in every shell where you want to use icecream with cross-compilation. See http://holesovsky.blogspot.cz/2015/02/using-icecream-to-speed-up-libreoffice.html for details. Change-Id: I1adf67934c2687f0fca1b73e7793b72120eeedab diff --git a/config_host.mk.in b/config_host.mk.in index e8d0ec4..1a28e63 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -268,6 +268,7 @@ export HUNSPELL_LIBS=$(gb_SPACE)@HUNSPELL_LIBS@ export HYPHEN_LIB=$(gb_SPACE)@HYPHEN_LIB@ export HYPH_SYSTEM_DIR=@HYPH_SYSTEM_DIR@ export ICECREAM_RUN=@ICECREAM_RUN@ +@x_ICECC_VERSION@ export ICECC_VERSION=@ICECC_VERSION@ export ICU_CFLAGS=$(gb_SPACE)@ICU_CFLAGS@ export ICU_LIBS=$(gb_SPACE)@ICU_LIBS@ export ICU_MAJOR=@ICU_MAJOR@ diff --git a/configure.ac b/configure.ac index d8401fc..0e27a30 100644 --- a/configure.ac +++ b/configure.ac @@ -12637,6 +12637,17 @@ fi AC_SUBST(ICECREAM_RUN) dnl =================================================================== +dnl Setup the ICECC_VERSION for the build the same way it was set for +dnl configure, so that CC/CXX and ICECC_VERSION are in sync +dnl =================================================================== +x_ICECC_VERSION=[\#] +if test -n "$ICECC_VERSION" ; then + x_ICECC_VERSION= +fi +AC_SUBST(x_ICECC_VERSION) +AC_SUBST(ICECC_VERSION) + +dnl =================================================================== AC_MSG_CHECKING([MPL subset]) MPL_SUBSET= _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits