From 2c419542672d04bb054b343f28ee8e2fb3bd05c3 Mon Sep 17 00:00:00 2001 From: Yann Dupont Date: Mon, 11 May 2020 16:43:54 +0200 Subject: [PATCH] WIP --- gnu/packages/glicid.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/glicid.scm b/gnu/packages/glicid.scm index 8eda7e2..74af1e0 100644 --- a/gnu/packages/glicid.scm +++ b/gnu/packages/glicid.scm @@ -219,6 +219,17 @@ as the 'native-search-paths' field." ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)")) #t)))))))) +(define %generic-search-paths + ;; This is the language-neutral search path for GCC. Entries in $CPATH are + ;; not considered "system headers", which means GCC can raise warnings for + ;; issues in those headers. 'CPATH' is the only one that works for + ;; front-ends not in the C family. + (list (search-path-specification + (variable "CPATH") + (files '("include"))) + (search-path-specification + (variable "LIBRARY_PATH") + (files '("lib" "lib64"))))) (define-public gfortran-9 (custom-gcc gcc-9 "gfortran" '("fortran")