[packages/scdoc] - fix building with GCC 15

hawk hawk at pld-linux.org
Fri Aug 15 16:53:44 CEST 2025


commit 206ee1f0e38ea883e3a1ab9dc664919814ffdf34
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Fri Aug 15 16:53:13 2025 +0200

    - fix building with GCC 15

 scdoc.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/scdoc.spec b/scdoc.spec
index 73b7e9a..cb001d7 100644
--- a/scdoc.spec
+++ b/scdoc.spec
@@ -24,7 +24,7 @@ POSIX-owych, napisany w C99.
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcppflags} %{rpmcflags} -DVERSION='\"%{version}\"'" \
+	CFLAGS="%{rpmcppflags} %{rpmcflags} -DVERSION='\"%{version}\"' -Wno-error=unused-variable -Wno-error=unused-but-set-variable" \
 	LDFLAGS="%{rpmldflags}" \
 	PREFIX="%{_prefix}" \
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/scdoc.git/commitdiff/206ee1f0e38ea883e3a1ab9dc664919814ffdf34



More information about the pld-cvs-commit mailing list