diff --git a/chromium-browser-stable.spec b/chromium-browser-stable.spec index afe3ca0..d4e7696 100644 --- a/chromium-browser-stable.spec +++ b/chromium-browser-stable.spec @@ -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"