From 8c6991f6b0336f375a7b7d39f4c7f031b740838a Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 16 May 2016 10:05:52 +0100 Subject: [PATCH] build-setup: Use a slightly later ancient timestamp for dummy files. GNU Make secretly reserves extreme-valued timestamps for its own internal purposes, and then complains about `Timestamp out of range'. This is annoying enough; but for some reason I don't understand, at least on Cygwin, instead of substituting its most ancient acceptable timestamp, it uses its furthest into the future stamp with the result that it gets stuck in a loop rebuilding makefiles. Using the second year of the epoch seems to fix the problem. --- build-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-setup b/build-setup index ded8b110..2bbf56fc 100755 --- a/build-setup +++ b/build-setup @@ -1,4 +1,4 @@ #! /bin/sh -ex for gen in symm/modes.am symm/stubs.am; do - if [ ! -r $gen ]; then touch -t197001010000.00 $gen; fi + if [ ! -r $gen ]; then touch -t197101010000.00 $gen; fi done -- 2.11.0