From 980327f426bf7bf37cdbb59d8f2df74a57dc0b2b695274f9b7766cd64d9f9136 Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Tue, 27 May 2025 23:36:52 +0200 Subject: [PATCH] Add -std=gnu17 to compilation flags to build with GCC 15. [boo#1241945] --- schily.changes | 6 ++++++ schily.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/schily.changes b/schily.changes index 85fa900..4301b69 100644 --- a/schily.changes +++ b/schily.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 27 21:35:22 UTC 2025 - Martin Jambor + +- Add -std=gnu17 to compilation flags in order to allow building with + GCC 15. [boo#1241945] + ------------------------------------------------------------------- Tue Nov 5 19:13:23 UTC 2024 - Jan Engelhardt diff --git a/schily.spec b/schily.spec index 064b229..3bf46ae 100644 --- a/schily.spec +++ b/schily.spec @@ -480,7 +480,7 @@ rm -fv libsiconv/shlsiconv.mk # - To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc. # - Not fully parallel safe, so stick to default. # -mycf="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1 -fcommon" +mycf="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1 -fcommon -std=gnu17" gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX="" SCCS_BIN_PRE="" SCCS_HELP_PRE="" config gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX="" SCCS_BIN_PRE="" SCCS_HELP_PRE="" all -- 2.51.1