From 29b395938856f208ec4f5946c1e91a0062bc43155848701b21ed0b834c864620 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 12 Jun 2020 12:49:16 +0000 Subject: [PATCH] - Fix building with gcc10 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/tvheadend?expand=0&rev=40 --- tvheadend.changes | 5 +++++ tvheadend.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/tvheadend.changes b/tvheadend.changes index 41c7e9b..6989598 100644 --- a/tvheadend.changes +++ b/tvheadend.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 12 12:49:02 UTC 2020 - Martin Pluskal + +- Fix building with gcc10 + ------------------------------------------------------------------- Tue Mar 24 13:35:39 UTC 2020 - Martin Pluskal diff --git a/tvheadend.spec b/tvheadend.spec index 74b8ccd..157aa73 100644 --- a/tvheadend.spec +++ b/tvheadend.spec @@ -79,6 +79,7 @@ echo %{version} > rpm/version %build export CFLAGS_NO_WERROR="yes" +export CFLAGS="%{optflags} -fcommon" %configure \ --python=%{_bindir}/python3 \ --disable-ffmpeg_static \