[packages/xvid] keep building with -std=gnu11
atler
atler at pld-linux.org
Wed Nov 26 00:09:56 CET 2025
commit f24cf361b3f55380b384d2dbce4e74092da8bfa0
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Nov 26 00:07:16 2025 +0100
keep building with -std=gnu11
default c standard version of gcc used for previous release. fixes build
with gcc15 which defaults to c23
xvid.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/xvid.spec b/xvid.spec
index 8654a02..6ca11b6 100644
--- a/xvid.spec
+++ b/xvid.spec
@@ -69,6 +69,7 @@ sed -i -e 's#@$(AS)#$(AS)#g' Makefile
sed -i -e 's#@$(CC)#$(CC)#g' Makefile
sed -i -e 's#@cd#cd#g' Makefile
cp -f /usr/share/automake/config.sub .
+export CFLAGS="%{rpmcflags} -std=gnu11"
%{__aclocal}
%{__autoconf}
%configure
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xvid.git/commitdiff/f24cf361b3f55380b384d2dbce4e74092da8bfa0
More information about the pld-cvs-commit
mailing list