forked from kiss-community/repo
chromium: Try to fix gcc
This commit is contained in:
parent
88dd5993ab
commit
705740ca78
@ -8,7 +8,7 @@ done
|
|||||||
find . -type f -name \*.py -exec sed -i '1s|python$|&2|' {} \;
|
find . -type f -name \*.py -exec sed -i '1s|python$|&2|' {} \;
|
||||||
|
|
||||||
# Use 'gcc' instead of 'clang'.
|
# Use 'gcc' instead of 'clang'.
|
||||||
export CC=gcc CXX=g++
|
export CC=gcc CXX=g++ LD=g++
|
||||||
export PATH=$PWD/fix-python-bin:$PATH
|
export PATH=$PWD/fix-python-bin:$PATH
|
||||||
|
|
||||||
# Make a temporary script to cause 'python' to resolve to python 2 and not 3.
|
# Make a temporary script to cause 'python' to resolve to python 2 and not 3.
|
||||||
@ -19,9 +19,6 @@ exec python2 "\$@"
|
|||||||
EOF
|
EOF
|
||||||
chmod +x ./fix-python-bin/python
|
chmod +x ./fix-python-bin/python
|
||||||
|
|
||||||
# Ensure these ENVARS are used.
|
|
||||||
tc-export AR CC CXX NM
|
|
||||||
|
|
||||||
python2 tools/gn/bootstrap/bootstrap.py -s -v \
|
python2 tools/gn/bootstrap/bootstrap.py -s -v \
|
||||||
--gn-gen-args '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_atk=false use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false'
|
--gn-gen-args '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_atk=false use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user