From 6af8da73af86a4ef9f0bf5073196e3c7c02d32da Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 25 Jan 2023 08:56:56 +0100 Subject: [PATCH] [tools] Try to fix #xamarin/maccore@2637 by making sure a file's timestamp changes. (#17352) Try to fix #xamarin/maccore@2637 by making sure a file's timestamp changes after make runs the corresponding target. Otherwise it seems make may run into some sort of infinite loop. Fixes https://github.com/xamarin/maccore/issues/2637. --- tools/common/Make.common | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/common/Make.common b/tools/common/Make.common index a175df4892..d2cdf96819 100644 --- a/tools/common/Make.common +++ b/tools/common/Make.common @@ -58,6 +58,7 @@ -e "s/@PRODUCT_HASH@/$(CURRENT_HASH_LONG)/g" \ $< > $@.tmp $(Q) if ! diff $@ $@.tmp >/dev/null; then $(CP) $@.tmp $@; echo "The file $(TOP)/tools/common/SdkVersions.cs has been automatically re-generated; please commit the changes."; fi + $(Q) touch $@ ../common/ProductConstants.cs: ../common/ProductConstants.in.cs Makefile $(TOP)/Make.config $(Q_GEN) sed \