2 Commits

2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 7 12:58:05 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
still allow build on SLE / Leap 15
-------------------------------------------------------------------
Tue Mar 19 18:59:53 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@@ -48,7 +48,7 @@ sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-versi
%build
pushd src
%make_build yacc CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
%make_build yacc CFLAGS="%{optflags} -std=gnu11" LDFLAGS="$RPM_LD_FLAGS"
popd
#Fix wrong-file-end-of-line-encoding