From 6fe9dbfd7cd3f87a196b535d9cad231c629b41f5 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Fri, 11 Jan 2019 11:49:08 +0000 Subject: [PATCH] build: Force determinism in official build Helps build with ccache. --- src/build/config/compiler/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/config/compiler/BUILD.gn b/src/build/config/compiler/BUILD.gn index 06812fb9c2..07e2e2e11b 100644 --- a/src/build/config/compiler/BUILD.gn +++ b/src/build/config/compiler/BUILD.gn @@ -1437,7 +1437,7 @@ config("compiler_deterministic") { # Eliminate build metadata (__DATE__, __TIME__ and __TIMESTAMP__) for # deterministic build. See https://crbug.com/314403 - if (!is_official_build) { + if (true) { if (is_win && !is_clang) { cflags += [ "/wd4117", # Trying to define or undefine a predefined macro.