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
This commit is contained in:
parent
b411af7ed9
commit
e5a0d6aa58
10
DEPS
10
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/<!pymod_do_main(compiler_version target assembler)/0/', '-i.bk', 'src/packager/build/common.gypi'],
|
||||
},
|
||||
{
|
||||
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
||||
"pattern": ".",
|
||||
|
|
Loading…
Reference in New Issue