[packages/perl-Bit-Vector] continue building with -std=gnu17 to avoid conflict with c23 bool

atler atler at pld-linux.org
Sat Aug 15 19:41:58 CEST 2026


commit beb0ed9d2f3960f7e87ec76fa5f07173674bbc02
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Aug 15 19:40:35 2026 +0200

    continue building with -std=gnu17 to avoid conflict with c23 bool

 perl-Bit-Vector.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/perl-Bit-Vector.spec b/perl-Bit-Vector.spec
index 173fb0b..ba0c83b 100644
--- a/perl-Bit-Vector.spec
+++ b/perl-Bit-Vector.spec
@@ -153,7 +153,7 @@ Bit::Vector 是一个高效的 C 库。它允许您处理
 	INSTALLDIRS=vendor
 %{__make} \
 	CC="%{__cc}" \
-	OPTIMIZE="%{rpmcflags}"
+	OPTIMIZE="%{rpmcflags} -std=gnu17"
 
 %{?with_tests:%{__make} test}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Bit-Vector.git/commitdiff/beb0ed9d2f3960f7e87ec76fa5f07173674bbc02



More information about the pld-cvs-commit mailing list