From fc9f89dafce8bb76554c0ba51308503ba18043e1 Mon Sep 17 00:00:00 2001 From: harry Date: Mon, 30 May 2022 05:17:58 -0400 Subject: [PATCH] For Qt GUI build, make timestamp UTC based for reproducible builds. Patch from debian. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60dba054..75c2d5d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -578,7 +578,7 @@ set(SOURCES ${SRC_CORE} ${SRC_DRIVERS_COMMON} ${SRC_DRIVERS_SDL}) # the FCEUX_BUILD_TIMESTAMP preprocessor definition. # Note: with CMake >= 3.8.0, this will respect SOURCE_DATE_EPOCH. For more info, # see . -string(TIMESTAMP BUILD_TS "%H:%M:%S %b %d %Y") +string(TIMESTAMP BUILD_TS "%H:%M:%S %b %d %Y" UTC) add_definitions( -DFCEUX_BUILD_TIMESTAMP=\"${BUILD_TS}\" ) if (WIN32)