mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: gcc > 5: Use 'CPATH' instead of 'C_INCLUDE_PATH' & co.
Partly addresses <https://bugs.gnu.org/30756>. Reported by julien lepiller <julien@lepiller.eu>, Marius Bakke <mbakke@fastmail.com>, and Giel van Schijndel <giel@mortis.eu> * gnu/packages/gcc.scm (gcc-6)[native-search-paths]: New field.
This commit is contained in:
parent
b992bfea74
commit
91a56b4ab5
1 changed files with 11 additions and 1 deletions
|
@ -476,7 +476,17 @@ (define-public gcc-6
|
|||
"pa" "sh" "tilepro" "xtensa")))))
|
||||
(inputs
|
||||
`(("isl" ,isl)
|
||||
,@(package-inputs gcc-4.7)))))
|
||||
,@(package-inputs gcc-4.7)))
|
||||
|
||||
(native-search-paths
|
||||
;; We have to use 'CPATH' for GCC > 5, not 'C_INCLUDE_PATH' & co., due to
|
||||
;; <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129>.
|
||||
(list (search-path-specification
|
||||
(variable "CPATH")
|
||||
(files '("include")))
|
||||
(search-path-specification
|
||||
(variable "LIBRARY_PATH")
|
||||
(files '("lib" "lib64")))))))
|
||||
|
||||
(define-public gcc-7
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue