[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: avr-gcc: Fix compiler lookup paths.
From: |
guix-commits |
Subject: |
branch master updated: gnu: avr-gcc: Fix compiler lookup paths. |
Date: |
Sun, 01 Mar 2020 07:25:00 -0500 |
This is an automated email from the git hooks/post-receive script.
dannym pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2f3515f gnu: avr-gcc: Fix compiler lookup paths.
2f3515f is described below
commit 2f3515f7369d91d8922620044f9348cc727b6c10
Author: Danny Milosavljevic <address@hidden>
AuthorDate: Sun Mar 1 12:52:43 2020 +0100
gnu: avr-gcc: Fix compiler lookup paths.
* gnu/packages/avr.scm (avr-gcc-4.9): Use CROSS_C*_INCLUDE_PATH (like
cross-base does).
(avr-gcc-5)[source]: Apply patch "gcc-cross-environment-variables.patch".
---
gnu/packages/avr.scm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm
index 1f99f63..608e487 100644
--- a/gnu/packages/avr.scm
+++ b/gnu/packages/avr.scm
@@ -63,7 +63,16 @@
`(delete "--disable-multilib" ,flags))))
(native-search-paths
(list (search-path-specification
- (variable "CROSS_CPATH")
+ (variable "CROSS_C_INCLUDE_PATH")
+ (files '("avr/include")))
+ (search-path-specification
+ (variable "CROSS_CPLUS_INCLUDE_PATH")
+ (files '("avr/include")))
+ (search-path-specification
+ (variable "CROSS_OBJC_INCLUDE_PATH")
+ (files '("avr/include")))
+ (search-path-specification
+ (variable "CROSS_OBJCPLUS_INCLUDE_PATH")
(files '("avr/include")))
(search-path-specification
(variable "CROSS_LIBRARY_PATH")
@@ -76,7 +85,10 @@
(package
(inherit avr-gcc-4.9)
(version (package-version gcc-5))
- (source (package-source gcc-5))))
+ (source (origin
+ (inherit (package-source gcc-5))
+ (patches (append (origin-patches (package-source gcc-5))
+ (search-patches
"gcc-cross-environment-variables.patch")))))))
(define (avr-libc avr-gcc)
(package
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: avr-gcc: Fix compiler lookup paths.,
guix-commits <=