www-client/chromium: use tc-is-clang
authorMike Gilbert <floppym@gentoo.org>
Sat, 20 Aug 2016 15:36:50 +0000 (11:36 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sat, 20 Aug 2016 15:36:50 +0000 (11:36 -0400)
www-client/chromium/chromium-54.0.2832.2.ebuild

index d6fb0335f606ca7f0ff35e879d41b59f2a065b55..27c458a6fce41962495bfecda69d64e3b9ec7939 100644 (file)
@@ -432,7 +432,7 @@ src_configure() {
        myconf_gyp+=" -Dfieldtrial_testing_like_official_build=1"
        myconf_gn+=" fieldtrial_testing_like_official_build=true"
 
-       if [[ $(tc-getCC) == *clang* ]]; then
+       if tc-is-clang; then
                myconf_gyp+=" -Dclang=1"
                myconf_gn+=" is_clang=true clang_base_path=\"/usr\" clang_use_chrome_plugins=false"
        else