mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-27 12:46:43 +01:00
gnu: light: Fix compilation with GCC 10.
-fno-common is default in GCC 10, which resulted in build failures. * gnu/packages/linux.scm (light)[arguments]: Add -fcommon compile flag. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
af823dc65f
commit
8fb8a5d487
1 changed files with 3 additions and 1 deletions
|
@ -57,6 +57,7 @@
|
|||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
|
||||
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
||||
;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -6842,7 +6843,8 @@ (define-public light
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue