diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 237bf4df375..b501b09468f 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -18,6 +18,10 @@ nopie=yes # contains tools that are not PIE, enables PIE itself build_options="clang" desc_option_clang="Use clang to build" +case $XBPS_TARGET_MACHINE in + i686) build_options_default+=" clang" ;; +esac + hostmakedepends="$(vopt_if clang clang) yasm python pkg-config perl gperf bison ninja nodejs hwids libatomic-devel libevent-devel libglib-devel" makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel