mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
build: Force determinism in official build
Helps build with ccache.
This commit is contained in:
parent
97e8863998
commit
d0d7122c3c
@ -1167,7 +1167,7 @@ config("compiler_deterministic") {
|
|||||||
|
|
||||||
# Eliminate build metadata (__DATE__, __TIME__ and __TIMESTAMP__) for
|
# Eliminate build metadata (__DATE__, __TIME__ and __TIMESTAMP__) for
|
||||||
# deterministic build. See https://crbug.com/314403
|
# deterministic build. See https://crbug.com/314403
|
||||||
if (!is_official_build) {
|
if (is_official_build) {
|
||||||
if (is_win && !is_clang) {
|
if (is_win && !is_clang) {
|
||||||
cflags += [
|
cflags += [
|
||||||
"/wd4117", # Trying to define or undefine a predefined macro.
|
"/wd4117", # Trying to define or undefine a predefined macro.
|
||||||
|
Loading…
Reference in New Issue
Block a user