gnu: efibootmgr: Fix build failure with GCC7.
* gnu/packages/linux.scm (efibootmgr)[arguments]: Set C_INCLUDE_PATH.
This commit is contained in:
parent
0e5f328260
commit
b9a30e0d37
1 changed files with 6 additions and 1 deletions
|
@ -4142,7 +4142,12 @@ interface to the variable facility of UEFI boot firmware.")
|
||||||
;; installed (known as OS_VENDOR in the code).
|
;; installed (known as OS_VENDOR in the code).
|
||||||
;; GRUB overrides this, as such it's only used if
|
;; GRUB overrides this, as such it's only used if
|
||||||
;; nothing else is specified on the command line.
|
;; nothing else is specified on the command line.
|
||||||
"EFIDIR=gnu")
|
"EFIDIR=gnu"
|
||||||
|
;; Treat kernel headers as system headers to prevent
|
||||||
|
;; warnings about conflicting types.
|
||||||
|
(string-append "C_INCLUDE_PATH="
|
||||||
|
(assoc-ref %build-inputs "kernel-headers")
|
||||||
|
"/include"))
|
||||||
#:phases (modify-phases %standard-phases (delete 'configure))))
|
#:phases (modify-phases %standard-phases (delete 'configure))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
|
Reference in a new issue