www-client/chromium: strip unsupported flags when overriding CXX
authorMike Gilbert <floppym@gentoo.org>
Mon, 5 Mar 2018 20:44:02 +0000 (15:44 -0500)
committerMike Gilbert <floppym@gentoo.org>
Mon, 5 Mar 2018 20:44:26 +0000 (15:44 -0500)
Closes: https://bugs.gentoo.org/649672
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 3158c969037f552f76ca695b943705fc0861ea23..11bbb4b7780598b38881003940d13a5401f427f1 100644 (file)
@@ -382,6 +382,7 @@ src_configure() {
                # 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
index 3158c969037f552f76ca695b943705fc0861ea23..11bbb4b7780598b38881003940d13a5401f427f1 100644 (file)
@@ -382,6 +382,7 @@ src_configure() {
                # 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
index 4cbec6b8cb4690a78895fbf091610f2c43a6a652..4c8e080b09ee8eed3718b66740bf119064deb57e 100644 (file)
@@ -390,6 +390,7 @@ src_configure() {
                # 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