From f0ea38fe494759cf86e3395d2e924f97b0e5f676 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 4 Aug 2024 12:54:02 -0400 Subject: [PATCH] Just set SOURCE_DATE_EPOCH=1. Using the last commit time is complicated (have to rebuild OpenSSL every commit/release). This only affects a debug string that we don't expose. --- GNUmakefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index c06b91ab..fa22984e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -21,14 +21,8 @@ BUNDLETOOL = out/bundletool.jar HAVE_WIN := 0 -ifeq ($(shell test -d .git && which git > /dev/null && echo 1),1) -export SOURCE_DATE_EPOCH=$(shell git log -1 --pretty=%ct) -export TZ=UTC -else export SOURCE_DATE_EPOCH=1 export TZ=UTC -endif -$(info SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)) ifeq ($(UNAME_S),Darwin) BUILD_TYPES := macosdebug macosrelease iosdebug iosrelease iossimdebug iossimrelease