[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with
From: |
Josselin Poiret |
Subject: |
[bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 |
Date: |
Mon, 04 Oct 2021 13:51:37 +0000 |
-fno-common is default in GCC 10, which resulted in build failures.
* gnu/packages/linux.scm (light): Add -fcommon compile flag.
---
gnu/packages/linux.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a919183068..756f9387c6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6842,7 +6842,8 @@ monitoring tools for Linux. These include @code{mpstat},
@code{iostat},
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
- `(#:phases
+ `(#:configure-flags '("CFLAGS=-fcommon")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-udev-rules-absolute-path-bins
(lambda* (#:key inputs #:allow-other-keys)
--
2.33.0
- [bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10,
Josselin Poiret <=