diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-12-18 21:38:49 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-12-18 21:38:49 +0100 |
commit | 009b53fd1ce162dce35249babfd63b26aa7ad580 (patch) | |
tree | 49d64d2531fba35cffaa52f264003798890bb552 /gnu/packages/pumpio.scm | |
parent | 8309c3899aee9429df51eba4566c67d0cc27f68c (diff) | |
download | gnu-guix-009b53fd1ce162dce35249babfd63b26aa7ad580.tar gnu-guix-009b53fd1ce162dce35249babfd63b26aa7ad580.tar.gz |
gnu: gcc: Prefer language-specific variables over 'CPATH'.
Suggested by Andy Wingo <wingo@igalia.com>.
Fixes <http://bugs.gnu.org/22186>.
* gnu/packages/gcc.scm (gcc-4.7)[native-search-paths]: Remove 'CPATH';
add 'C_INCLUDE_PATH' and 'CPLUS_INCLUDE_PATH' instead.
* gnu/packages/gcc.scm (custom-gcc): Add 'search-paths' parameter and
honor it.
(%generic-search-paths): New variable.
(gfortran-4.8, gfortran-4.9, gfortran, gfortran-5, gccgo-4.8): Pass
%GENERIC-SEARCH-PATHS to 'custom-gcc'.
(gcj)[native-search-paths]: New field.
(gcc-objc-4.8, gcc-objc++-4.8): Use 'OBJC_INCLUDE_PATH' and
'OBJCPLUS_INCLUDE_PATH', respectively.
Diffstat (limited to 'gnu/packages/pumpio.scm')
0 files changed, 0 insertions, 0 deletions