commit 91c64825dff321446ff6b1e3acc39e31fdca2c3b
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Tue Mar 10 12:09:51 2020 +0100
Disable -fno-common flag to allow building with GCC 10
tvheadend.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tvheadend.spec b/tvheadend.spec
index bef92c4..a832a46 100644
--- a/tvheadend.spec
+++ b/tvheadend.spec
@@ -138,7 +138,8 @@ done
%build
#
https://github.com/FFmpeg/FFmpeg/commit/4361293
-export CFLAGS="$RPM_OPT_FLAGS -Wno-attributes"
+# Force -fcommon until code fully supports GCC 10
+export CFLAGS="$RPM_OPT_FLAGS -Wno-attributes -fcommon"
echo "%{version}-%{release}" >rpm/version
# Note: --disable-lib* correspond to options to build bundled FFmpeg
%configure \
@@ -236,6 +237,7 @@ exit 0
%changelog
* Tue Mar 10 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 4.2.8-8
- Fix build with hdhomerun >= 20190621
+- Disable -fno-common flag to allow building with GCC 10
* Sat Feb 22 2020 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
4.2.8-7
- Rebuild for ffmpeg-4.3 git