diff options
-rw-r--r-- | gnu/packages/gcc.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 3d1ae25dc9..f7b0cf3333 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -713,7 +713,17 @@ as the 'native-search-paths' field." (for-each delete-file (find-files (string-append (assoc-ref outputs "out") "/bin") ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)")) - #t)))))))) + #t)))))) + (native-search-paths + (list (search-path-specification + (variable "C_INCLUDE_PATH") + (files '("include"))) + (search-path-specification + (variable "CPLUS_INCLUDE_PATH") + (files '("include"))) + (search-path-specification + (variable "LIBRARY_PATH") + (files '("lib" "lib64" "lib/gcc"))))))) (define-public gccgo-4.9 |