mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 15:12:49 +00:00
parent
6a8ac4365f
commit
8b52841e42
1 changed files with 3 additions and 2 deletions
|
@ -241,7 +241,8 @@ buildconfig+="-Dwerror=
|
|||
-Denable_widevine=1"
|
||||
|
||||
%if 0%{?clang}
|
||||
buildconfig+=" -Dclang=1"
|
||||
buildconfig+="-Dclang=1
|
||||
-Dclang_use_chrome_plugins=0"
|
||||
%else
|
||||
buildconfig+=" -Dclang=0"
|
||||
%endif
|
||||
|
@ -305,7 +306,7 @@ buildconfig+=" -Duse_system_icu=0
|
|||
export CC=/usr/bin/clang
|
||||
export CXX=/usr/bin/clang++
|
||||
# Modern Clang produces a *lot* of warnings
|
||||
##export CXXFLAGS="${CXXFLAGS} -Wno-unknown-warning-option -Wno-unused-local-typedef -Wunknown-attributes -Wno-tautological-undefined-compare"
|
||||
export CXXFLAGS="${CXXFLAGS} -Wno-unknown-warning-option -Wno-unused-local-typedef -Wunknown-attributes -Wno-tautological-undefined-compare"
|
||||
export GYP_DEFINES="clang=1 enable_hidpi=1 enable_touch_ui=1 enable_hotwording=0"
|
||||
%else
|
||||
export GYP_DEFINES="enable_hidpi=1 enable_touch_ui=1 enable_hotwording=0"
|
||||
|
|
Loading…
Add table
Reference in a new issue