www-client/chromium: include CHOST in CXX override for clang
authorMike Gilbert <floppym@gentoo.org>
Mon, 5 Mar 2018 17:26:17 +0000 (12:26 -0500)
committerMike Gilbert <floppym@gentoo.org>
Mon, 5 Mar 2018 17:27:50 +0000 (12:27 -0500)
Closes: https://bugs.gentoo.org/649664
Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99

www-client/chromium/chromium-65.0.3325.106.ebuild
www-client/chromium/chromium-65.0.3325.88.ebuild
www-client/chromium/chromium-66.0.3355.0.ebuild

index 444f6fcaf839d9ceff0f7e17796b5405d1a62ec5..3158c969037f552f76ca695b943705fc0861ea23 100644 (file)
@@ -380,8 +380,8 @@ src_configure() {
 
        if ! tc-is-clang; then
                # Force clang since gcc is pretty broken at the moment.
-               CC=clang
-               CXX=clang++
+               CC=${CHOST}-clang
+               CXX=${CHOST}-clang++
        fi
 
        if tc-is-clang; then
index 444f6fcaf839d9ceff0f7e17796b5405d1a62ec5..3158c969037f552f76ca695b943705fc0861ea23 100644 (file)
@@ -380,8 +380,8 @@ src_configure() {
 
        if ! tc-is-clang; then
                # Force clang since gcc is pretty broken at the moment.
-               CC=clang
-               CXX=clang++
+               CC=${CHOST}-clang
+               CXX=${CHOST}-clang++
        fi
 
        if tc-is-clang; then
index 87eab7cb3c944c49d6b611352df380b612b6cba5..4cbec6b8cb4690a78895fbf091610f2c43a6a652 100644 (file)
@@ -388,8 +388,8 @@ src_configure() {
 
        if ! tc-is-clang; then
                # Force clang since gcc is pretty broken at the moment.
-               CC=clang
-               CXX=clang++
+               CC=${CHOST}-clang
+               CXX=${CHOST}-clang++
        fi
 
        if tc-is-clang; then