From 29fe750fc940ce977efef2d8c35ce02950db074a Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 9 Oct 2026 18:31:16 +1000 Subject: [PATCH] MSBuild: Improve reproducibility Pin mtime of rcc timestamps. --- dep/vsprops/Base.props | 5 ++++- dep/vsprops/QtCompile.props | 21 ++++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/dep/vsprops/Base.props b/dep/vsprops/Base.props index e8467e7c7..77612b14f 100644 --- a/dep/vsprops/Base.props +++ b/dep/vsprops/Base.props @@ -41,7 +41,7 @@ false false /clang:-fno-rtti %(AdditionalOptions) - /d1trimfile:"$(SolutionDir)\" %(AdditionalOptions) + /d1trimfile:"$(SolutionDir)\" /Brepro %(AdditionalOptions) /clang:-ffile-prefix-map="$(SolutionDir)\"= %(AdditionalOptions) @@ -49,6 +49,9 @@ %(AdditionalLibraryDirectories);$(DepsLibDir) /PDBALTPATH:%_PDB% /Brepro %(AdditionalOptions) + + /Brepro %(AdditionalOptions) + diff --git a/dep/vsprops/QtCompile.props b/dep/vsprops/QtCompile.props index 9ac85483e..1c120c220 100644 --- a/dep/vsprops/QtCompile.props +++ b/dep/vsprops/QtCompile.props @@ -100,7 +100,26 @@ - + + + + + + + <_QtResourceSourceDate>$(SOURCE_DATE_EPOCH) + <_QtResourceSourceDate Condition="'$(_QtResourceSourceDate)'=='' And '$(_QtResourceCommitDateExitCode)'=='0'">$(_QtResourceCommitDate) + + <_QtResourceOutOfDate Remove="@(_QtResourceOutOfDate)" /> <_QtResourceDependency Remove="@(_QtResourceDependency)" />