www-client/chromium: force clang again for M69
authorMike Gilbert <floppym@gentoo.org>
Sun, 16 Sep 2018 16:12:37 +0000 (12:12 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 16 Sep 2018 16:15:00 +0000 (12:15 -0400)
Package-Manager: Portage-2.3.49_p2, Repoman-2.3.10_p48

www-client/chromium/chromium-69.0.3497.92.ebuild

index ad1ac0602a93416a2e3affc52cf327d46e1db367..b214b6ae612e0ff866ec40054efa421d98e73e2e 100644 (file)
@@ -101,6 +101,7 @@ DEPEND="${COMMON_DEPEND}
        sys-apps/hwids[usb(+)]
        >=sys-devel/bison-2.4.3
        sys-devel/flex
+       >=sys-devel/clang-5
        virtual/pkgconfig
        dev-vcs/git
 "
@@ -370,12 +371,12 @@ src_configure() {
        # Make sure the build system will use the right tools, bug #340795.
        tc-export AR CC CXX NM
 
-       #if ! tc-is-clang; then
-       #       # Force clang since gcc is pretty broken at the moment.
-       #       CC=${CHOST}-clang
-       #       CXX=${CHOST}-clang++
-       #       strip-unsupported-flags
-       #fi
+       if ! tc-is-clang; then
+               # Force clang since gcc is pretty broken at the moment.
+               CC=${CHOST}-clang
+               CXX=${CHOST}-clang++
+               strip-unsupported-flags
+       fi
 
        if tc-is-clang; then
                myconf_gn+=" is_clang=true clang_use_chrome_plugins=false"