commit:     5b86df4fdf4c864e1023f60e838f194c42fadfa2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 03:55:44 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 03:56:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b86df4f

x11-libs/pixman: fix build for arm64

Closes: https://bugs.gentoo.org/891459
Bug: https://bugs.gentoo.org/768138
See: 18745f353da4ddd132b344f0f20e035dfa917b93
Thanks-to: Fergus Dall <sidereal <AT> google.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-libs/pixman/pixman-0.42.2.ebuild | 4 ++--
 x11-libs/pixman/pixman-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-libs/pixman/pixman-0.42.2.ebuild 
b/x11-libs/pixman/pixman-0.42.2.ebuild
index a374ef666c6d..2e5fa64a855c 100644
--- a/x11-libs/pixman/pixman-0.42.2.ebuild
+++ b/x11-libs/pixman/pixman-0.42.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,7 @@ pkg_setup() {
 }
 
 multilib_src_configure() {
-       if use arm && tc-is-clang ; then
+       if ( use arm || use arm64 ) && tc-is-clang ; then
                # See bug #768138 and 
https://gitlab.freedesktop.org/pixman/pixman/-/issues/46
                append-cflags $(test-flags-CC -fno-integrated-as)
        fi

diff --git a/x11-libs/pixman/pixman-9999.ebuild 
b/x11-libs/pixman/pixman-9999.ebuild
index 1cd3dd3a43a8..e4c0e9e9a0ee 100644
--- a/x11-libs/pixman/pixman-9999.ebuild
+++ b/x11-libs/pixman/pixman-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,7 @@ pkg_setup() {
 }
 
 multilib_src_configure() {
-       if use arm && tc-is-clang ; then
+       if ( use arm || use arm64 ) && tc-is-clang ; then
                # See bug #768138 and 
https://gitlab.freedesktop.org/pixman/pixman/-/issues/46
                append-cflags $(test-flags-CC -fno-integrated-as)
        fi

Reply via email to