me
/
guix
Archived
1
0
Fork 0

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
master
Efraim Flashner 2023-12-19 10:52:50 +02:00
parent edb794bbd4
commit 7a7ba2d075
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 0 additions and 12 deletions

View File

@ -893,17 +893,6 @@ Executables included are:
#: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 @@ Executables included are:
"OVMF_VARS"))))))))
(native-inputs
`(("acpica" ,acpica)
("gcc@5" ,gcc-5)
("nasm" ,nasm)
("perl" ,perl)
("python-3" ,python-3)