mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: ovmf: Build with newer gcc.
* gnu/packages/firmware.scm (ovmf)[arguments]: Remove 'hide-implicit-gcc phase. [native-inputs]: Remove gcc-5. Change-Id: I2bcaea77019bb69214878713aa57cbef49c473db
This commit is contained in:
parent
edb794bbd4
commit
7a7ba2d075
1 changed files with 0 additions and 12 deletions
|
@ -893,17 +893,6 @@ (define-public ovmf
|
|||
#:tests? #f ; No check target.
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; Hide the default GCC from CPLUS_INCLUDE_PATH to prevent it from
|
||||
;; shadowing the version of GCC provided in native-inputs.
|
||||
(add-after 'set-paths 'hide-implicit-gcc
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((gcc (assoc-ref inputs "gcc")))
|
||||
(setenv "CPLUS_INCLUDE_PATH"
|
||||
(string-join
|
||||
(delete (string-append gcc "/include/c++")
|
||||
(string-split (getenv "CPLUS_INCLUDE_PATH")
|
||||
#\:))
|
||||
":")))))
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda _
|
||||
(substitute* "edksetup.sh"
|
||||
|
@ -969,7 +958,6 @@ (define-public ovmf
|
|||
"OVMF_VARS"))))))))
|
||||
(native-inputs
|
||||
`(("acpica" ,acpica)
|
||||
("gcc@5" ,gcc-5)
|
||||
("nasm" ,nasm)
|
||||
("perl" ,perl)
|
||||
("python-3" ,python-3)
|
||||
|
|
Loading…
Reference in a new issue