Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
spirv-tools: disable -Werror
To:
thfr@openbsd.org, ports@openbsd.org
Date:
Wed, 5 Nov 2025 11:06:15 +0100

Download raw body.

Thread
-Werror is just pain. Every compiler version adds a few new
things into the mix. Just stop the madness.
Also enable parallel builds by default.

-- 
:wq Claudio

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/spirv-tools/Makefile,v
diff -u -p -r1.25 Makefile
--- Makefile	15 Aug 2025 00:41:00 -0000	1.25
+++ Makefile	5 Nov 2025 10:04:09 -0000
@@ -29,7 +29,10 @@ MODPY_RUNDEP =	No
 
 BUILD_DEPENDS =	graphics/spirv-headers
 
-CONFIGURE_ARGS =	-DSPIRV-Headers_SOURCE_DIR="${LOCALBASE}"
+DPB_PROPERTIES =	parallel
+
+CONFIGURE_ARGS =	-DSPIRV-Headers_SOURCE_DIR="${LOCALBASE}" \
+			-DSPIRV_WERROR=OFF
 
 SUBST_VARS +=	ADDITIONAL_LIBRARIES