From 386e6bb4799471acc61c085fdc6472b2e43b0554 Mon Sep 17 00:00:00 2001 From: Charlie Jenkins Date: Mon, 21 Apr 2025 14:37:03 -0700 Subject: [PATCH] package/pixman: only compile with riscv vector support when selected Pixman defaults to building with the riscv vector extension. Instead, only build with vector if the buildroot user has selected BR2_RISCV_ISA_RVV. This option exists since pixman 0.44.0, to which the Buildroot package was updated as part of Buildroot commit ba2fb599cd002b57fa70e978d91884c98d8aad05. Signed-off-by: Charlie Jenkins Signed-off-by: Thomas Petazzoni --- package/pixman/pixman.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk index 391950cbfc..76e72d6d96 100644 --- a/package/pixman/pixman.mk +++ b/package/pixman/pixman.mk @@ -74,6 +74,12 @@ else PIXMAN_CONF_OPTS += -Da64-neon=disabled endif +ifeq ($(BR2_RISCV_ISA_RVV),y) +PIXMAN_CONF_OPTS += -Drvv=enabled +else +PIXMAN_CONF_OPTS += -Drvv=disabled +endif + PIXMAN_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101737),y)