unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40164] Fix for libgccjit
@ 2020-03-21 13:13 Formbi via Guix-patches via
  2020-03-21 13:18 ` [bug#40164] information Formbi via Guix-patches via
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Formbi via Guix-patches via @ 2020-03-21 13:13 UTC (permalink / raw)
  To: 40164

[-- Attachment #1: Type: text/plain, Size: 15 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-fix-libgccjit.patch --]
[-- Type: text/x-patch; name="0001-fix-libgccjit.patch", Size: 1169 bytes --]

From 51511978f7e41392d9ed4d49f08c7ce154ff18d2 Mon Sep 17 00:00:00 2001
From: Formbi <formbi@protonmail.com>
Date: Sat, 21 Mar 2020 14:10:01 +0100
Subject: [PATCH] fix libgccjit

---
 gnu/packages/gcc.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 08afd80358..2c9a8ba9df 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -716,7 +716,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
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-07-14 16:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21 13:13 [bug#40164] Fix for libgccjit Formbi via Guix-patches via
2020-03-21 13:18 ` [bug#40164] information Formbi via Guix-patches via
2020-03-21 13:21 ` [bug#40164] a small correction Formbi via Guix-patches via
2020-03-21 14:48 ` [bug#40164] Fix for libgccjit Mathieu Othacehe
2020-03-21 22:32 ` Ludovic Courtès
     [not found]   ` <zQode-EomoU8GYz0NVEC1E-dBhMwLCRtt-LHk1FaBdeeAzlTsYdHrqvKiajgG5_9W4ht97afq-I5F4uac5cH7_zzY-pvcyJwe-q6jwCEPaE=@protonmail.com>
2020-03-22 20:54     ` Ludovic Courtès
2021-07-14 12:40       ` Maxim Cournoyer
2021-07-14 16:50         ` Maxim Cournoyer
2020-03-21 23:12 ` Formbi via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).