Compare commits

2 Commits
main ... 1.1

2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 20 21:53:51 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Export -std=gnu99 to cflags, fix build with gcc 15. GCC 15
defaults to C23. gtk+ 2.x entered maintenance mode upstream prior
to C11, is now no longer under development, and therefore should
not be expected to compile to newer standards.
-------------------------------------------------------------------
Wed Feb 26 03:36:57 UTC 2025 - Stanislav Brabec <sbrabec@suse.com>

View File

@@ -341,7 +341,7 @@ ln po/{en,lg,zu}.po po-properties/
%build
NOCONFIGURE=1 ./autogen.sh
export CFLAGS="%{optflags}"
export CFLAGS="$CFLAGS -fstack-protector"
export CFLAGS="$CFLAGS -fstack-protector -std=gnu99"
%ifarch ppc64
export CFLAGS="$CFLAGS -mminimal-toc"
%endif