[packages/libflashrom] fix build with gcc 10
atler
atler at pld-linux.org
Wed Sep 9 20:02:20 CEST 2020
commit 72393d0b3ecada67d9e08f469729ce2aac7fbfc5
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Sep 9 19:46:46 2020 +0200
fix build with gcc 10
libflashrom.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libflashrom.spec b/libflashrom.spec
index 95604bf..772e89a 100644
--- a/libflashrom.spec
+++ b/libflashrom.spec
@@ -71,6 +71,7 @@ Dokumentacja API biblioteki libflashrom.
%patch0 -p0
%build
+export CFLAGS="%{rpmcflags} -fcommon"
%meson build \
%if %{without pci_io}
-Dconfig_nic3com=false \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libflashrom.git/commitdiff/72393d0b3ecada67d9e08f469729ce2aac7fbfc5
More information about the pld-cvs-commit
mailing list