From e5a0d6aa58833d9b995e3b2d214b58c40b61c245 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Sat, 14 Aug 2021 10:54:39 -0700 Subject: [PATCH] build: Fix builds with CC=clang CXX=clang++ When using CC=clang CXX=clang++, there is a binutils version check that does not work correctly in common.gypi. Since we are stuck with a very old version of chromium/src/build, there is nothing to do but patch it to remove the check. Thankfully, this version number does not control anything critical in the build settings as far as we can tell. Change-Id: Id749d97c5898917592f66136538ee0fa5ca78767 --- DEPS | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/DEPS b/DEPS index ce54dab69d..96ca6f18bb 100644 --- a/DEPS +++ b/DEPS @@ -67,6 +67,16 @@ deps_os = { } hooks = [ + { + # When using CC=clang CXX=clang++, there is a binutils version check that + # does not work correctly in common.gypi. Since we are stuck with a very + # old version of chromium/src/build, there is nothing to do but patch it to + # remove the check. Thankfully, this version number does not control + # anything critical in the build settings as far as we can tell. + 'name': 'patch-binutils-version-check', + 'pattern': '.', + 'action': ['sed', '-e', 's/