From d578253cdbb43857fc832a7dbfb2416a96e05fb8 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 18 Apr 2022 12:38:47 +0200 Subject: [PATCH] package/pixman: fix mips build Disable Loongson MMI fast paths to fix the following mips build failure: ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm' 407 | asm("pinsrh_%3 %0, %1, %2\n\t" | ^~~ Fixes: - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11 - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 7e0fbf4dcd4cd0cf17cfe89ebf6808fdace8f01f) Signed-off-by: Peter Korsgaard --- package/pixman/pixman.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk index 6fab539593..64302fa49a 100644 --- a/package/pixman/pixman.mk +++ b/package/pixman/pixman.mk @@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf PIXMAN_AUTORECONF = YES # don't build gtk based demos -PIXMAN_CONF_OPTS = --disable-gtk +PIXMAN_CONF_OPTS = \ + --disable-gtk \ + --disable-loongson-mmi # The ARM SIMD code from pixman requires a recent enough ARM core, but # there is a runtime CPU check that makes sure it doesn't get used if