summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-08-31 22:18:47 +0200
committerLudovic Courtès <ludo@gnu.org>2014-08-31 22:18:47 +0200
commitd474d5d0c6ca0aa085e68533b1f16ed29fd10f7c (patch)
tree0097b224dfde61cf26d9b60875899aec097b7131
parent4720f524fcab388a5a8bd62a0adf5587e5026b96 (diff)
downloadguix-d474d5d0c6ca0aa085e68533b1f16ed29fd10f7c.tar.gz
gnu: gcc-toolchain: Inherit GCC's search path specifications.
Reported by Federico Beffa <beffa@ieee.org>.

* gnu/packages/commencement.scm (gcc-toolchain): Add
  'native-search-paths' and 'search-paths' fields.
-rw-r--r--gnu/packages/commencement.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6c49d0a9f5..a1d2fcaaed 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -732,6 +732,10 @@ COREUTILS-FINAL vs. COREUTILS, etc."
                    (union-build (assoc-ref %outputs "debug")
                                 (list (assoc-ref %build-inputs
                                                  "libc-debug"))))))
+
+    (native-search-paths (package-native-search-paths gcc))
+    (search-paths (package-search-paths gcc))
+
     (license (package-license gcc))
     (synopsis "Complete GCC tool chain for C/C++ development")
     (description