commit f8839d55a5c359c055fd2aefbe8745e9fcaf5ec6
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Thu Apr 16 23:50:26 2020 +0200
Fix build with GCC 10
swftools.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/swftools.spec b/swftools.spec
index 85e1214..e602825 100644
--- a/swftools.spec
+++ b/swftools.spec
@@ -43,6 +43,8 @@ done
%build
+export CFLAGS="$RPM_OPT_FLAGS -fcommon"
+export CXXFLAGS="$CFLAGS"
%configure
make %{?_smp_mflags}
Show replies by date