Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index ab8a7dab416d3ae02e056618cc19ad59197bb148..9137028913079075f8c41a1e43753d231662ff34 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -275,16 +275,6 @@ |
] |
} |
} |
- } |
- |
- if (is_official_build) { |
- # Explicitly pass --build-id to ld. Compilers used to always pass this |
- # implicitly but don't any more (in particular clang when built without |
- # ENABLE_LINKER_BUILD_ID=ON). The crash infrastructure does need a build |
- # id, so explicitly enable it in official builds. It's not needed in |
- # unofficial builds and computing it does slow down the link, so go with |
- # faster links in unofficial builds. |
- ldflags += [ "-Wl,--build-id=sha1" ] |
} |
defines += [ "_FILE_OFFSET_BITS=64" ] |