guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

184/210: gnu: mesboot-headers: Cleanup.


From: Jan Nieuwenhuizen
Subject: 184/210: gnu: mesboot-headers: Cleanup.
Date: Sat, 8 Sep 2018 10:36:32 -0400 (EDT)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit cbf18f74ec52d285f7f8d64a7307d83efe50a78e
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Mon Sep 3 15:53:49 2018 +0200

    gnu: mesboot-headers: Cleanup.
    
    * gnu/packages/commencement.scm (mesboot-headers): Cleanup.
---
 gnu/packages/commencement.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c929282..74dc042 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -849,7 +849,16 @@ ac_cv_c_float_format='IEEE (little-endian)'
                 (mkdir-p include)
                 (copy-recursively "include" out)
                 (copy-recursively headers out)
-                #t)))))))))
+                #t))))))
+     (native-search-paths
+      ;; Use the language-specific variables rather than 'CPATH' because they
+      ;; are equivalent to '-isystem' whereas 'CPATH' is equivalent to '-I'.
+      ;; The intent is to allow headers that are in the search path to be
+      ;; treated as "system headers" (headers exempt from warnings) just like
+      ;; the typical /usr/include headers on an FHS system.
+      (list (search-path-specification
+             (variable "C_INCLUDE_PATH")
+             (files '("include"))))))))
 
 (define-public glibc-mesboot0
   (package-with-bootstrap-guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]