Kaydet (Commit) e7037b2e authored tarafından Matteo Casalin's avatar Matteo Casalin Kaydeden (comit) Tor Lillqvist

Kill set_oenv remnants (by just renaming the required timestamp file)

Change-Id: I779128111a4f69235a4c8cc6510018fc61d1b24b
Reviewed-on: https://gerrit.libreoffice.org/1026Tested-by: 's avatarTor Lillqvist <tml@iki.fi>
Reviewed-by: 's avatarTor Lillqvist <tml@iki.fi>
üst cee6c4b1
......@@ -56,6 +56,7 @@
/config.parms
/config_host.mk
/config_host.mk.last
/config_host.mk.stamp
/config_build.mk
/configure
/desktop/scripts/soffice.sh
......@@ -75,7 +76,6 @@
# misc
/file-lists
/cross-build-toolset.built
/set_soenv.stamp
/warn
/build.log
/build_error.log
......
......@@ -354,7 +354,7 @@ ifeq ($(BUILD_DMAKE),YES)
endif
rm -fr config_host.mk config_build.mk aclocal.m4 autom4te.cache \
config.log config.status configure ooo.lst \
config_host.mk.last set_soenv.stamp src.downloaded warn
config_host.mk.last config_host.mk.stamp src.downloaded warn
find $(SOLARENV)/gdb -name "*.pyc" -exec rm {} \;
#
......
......@@ -2903,7 +2903,7 @@ if test "$GCC" = "yes"; then
if test "$_os" = "Darwin" -a "$with_macosx_sdk" = "10.4" -a "$GCCVER" -ge "040100"; then
if test -z "$save_CC" -a -x "$GCC_HOME/bin/gcc-4.0"; then
export CC="$GCC_HOME/bin/gcc-4.0"
# export CC to have it available in set_soenv -> config.guess
# export CC to make it finally available to config.guess
GCCVER2=`$CC -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
if test "$GCCVER2" -ge "040000" -a "$GCCVER2" -lt "040100"; then
GCCVER=$GCCVER2
......@@ -3215,8 +3215,7 @@ if test "$_os" = "WINNT"; then
fi
AC_SUBST(BUILD_X64)
# These are passed to the environment through set_soenv.in as usual, and then
# used in set_wntx64.mk
# These are passed to the environment and then used in set_wntx64.mk
AC_SUBST(CXX_X64_BINARY)
AC_SUBST(LINK_X64_BINARY)
AC_SUBST(LIBMGR_X64_BINARY)
......@@ -12524,13 +12523,13 @@ fi
AC_CONFIG_FILES([config_host.mk ooo.lst])
AC_OUTPUT
# touch the config timestamp file set_soenv.stamp
if test ! -f set_soenv.stamp; then
echo > set_soenv.stamp
# touch the config timestamp file
if test ! -f config_host.mk.stamp; then
echo > config_host.mk.stamp
elif diff config_host.mk config_host.mk.last >/dev/null 2>&1; then
echo "Configuration unchanged - avoiding scp2 stamp update"
else
echo > set_soenv.stamp
echo > config_host.mk.stamp
fi
......
......@@ -40,7 +40,6 @@ USE_DEFFILE=TRUE
JAVA_INCLUDES:= -I$(JAVA_HOME)/include
# values taken from set_soenv.in
.IF "$(OS)" == "LINUX"
JAVA_INCLUDES+= -I$(JAVA_HOME)/include/linux
.ELIF "$(OS)" == "FREEBSD"
......
......@@ -31,10 +31,10 @@ $(call gb_CustomTarget_get_target,scp2/macros) : $(call gb_CustomTarget_get_work
$(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc :| $(call gb_CustomTarget_get_workdir,scp2/macros)/.dir
$(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc : $(SRCDIR)/scp2/macros/macro.pl $(SRCDIR)/set_soenv.stamp
$(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc : $(SRCDIR)/scp2/macros/macro.pl $(SRCDIR)/config_host.mk.stamp
$(call gb_Helper_abbreviate_dirs,\
export COMPLETELANGISO_VAR='$(gb_ScpTemplateTarget_LANGS)' && \
$(PERL) $< -verbose -o $@ -c $(SRCDIR)/set_soenv.stamp \
$(PERL) $< -verbose -o $@ -c $(SRCDIR)/config_host.mk.stamp \
)
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
......@@ -261,7 +261,7 @@ sub args_require_build
# changed script - run always
return 1 if (stat($0))[9] > (stat("$destfile"))[9] ;
# changed set_soenv.stamp - run always
# changed config timestamp - run always
if (-f "$config_stamp") {
return 1 if (stat($config_stamp))[9] > (stat($destfile))[9];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment