From 41e521c835d7daf74f4134a99adb2b1d25a67c3c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 28 Jul 2019 09:36:10 +0300 Subject: [PATCH] chromium: Fix build. --- testing/chromium/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/chromium/build b/testing/chromium/build index 8fe1fd21..d29bf2a9 100755 --- a/testing/chromium/build +++ b/testing/chromium/build @@ -1,7 +1,11 @@ #!/bin/sh -e +# Fix 'python2' shebangs. sed -i '1s|python$|&2|' third_party/dom_distiller_js/protoc_plugins/*.py +# Use 'gcc' instead of 'clang'. +export CC=gcc + python2 tools/gn/bootstrap/bootstrap.py -s -v \ --gn-gen-args 'target_cpu="x64" is_debug=false use_jumbo_build=true enable_nacl=false symbol_level=0 blink_symbol_level=0 enable_nacl_nonsfi=false use_gtk3=true use_gold=false treat_warnings_as_errors=false fatal_linker_warnings=false use_sysroot=false use_cups=false rtc_use_x11=true use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false'