mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: gcc-mesboot1: Fix native-search-paths.
* gnu/packages/commencement.scm (gcc-mesboot1)[native-search-paths]: Don't inherit from gcc-core-mesboot1. Add CPLUS_INCLUDE_PATH. Change-Id: I027e0722d6c63bd2b6222849f6bb82907e593da7
This commit is contained in:
parent
6df5f15b75
commit
2bb3da06fd
1 changed files with 11 additions and 1 deletions
|
@ -1815,7 +1815,17 @@ (define gcc-mesboot1
|
|||
|
||||
;; Set the C++ search path so that C headers can be found as
|
||||
;; libstdc++ is being compiled.
|
||||
(setenv "CPLUS_INCLUDE_PATH" (getenv "C_INCLUDE_PATH"))))))))))
|
||||
(setenv "CPLUS_INCLUDE_PATH" (getenv "C_INCLUDE_PATH"))))))))
|
||||
(native-search-paths
|
||||
(list (search-path-specification
|
||||
(variable "C_INCLUDE_PATH")
|
||||
(files '("include")))
|
||||
(search-path-specification
|
||||
(variable "CPLUS_INCLUDE_PATH")
|
||||
(files '("include/c++" "include")))
|
||||
(search-path-specification
|
||||
(variable "LIBRARY_PATH")
|
||||
(files '("lib")))))))
|
||||
|
||||
(define (%boot-mesboot2-inputs)
|
||||
`(("gcc" ,gcc-mesboot1)
|
||||
|
|
Loading…
Reference in a new issue