[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/19: gnu: makefile2graph: fix cross-compile.
From: |
guix-commits |
Subject: |
02/19: gnu: makefile2graph: fix cross-compile. |
Date: |
Thu, 14 Sep 2023 17:45:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 258729b928e14f0349a109d0a9a1d56a8e68e139
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Sep 6 18:25:53 2023 +0800
gnu: makefile2graph: fix cross-compile.
* gnu/packages/code.scm (makefile2graph): fix cross-compile.
[arguments]: Use gexp and CC-FOR-TARGET.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/code.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 1c21ad475b..4335c57150 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2021 lu hui <luhuins@163.com>
;;; Copyright © 2021, 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -773,11 +774,13 @@ produce colored output.")
(base32 "1gjfk3d8qg3cla7qd2y7r9s03whlfwy83q8k76xfcnqrjjfavdgk"))))
(build-system gnu-build-system)
(arguments
- '(#:test-target "test"
- #:make-flags (list "CC=gcc" (string-append "prefix=" %output))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
+ (list
+ #:test-target "test"
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "prefix=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
(native-inputs
(list graphviz))
(home-page "https://github.com/lindenb/makefile2graph")
- branch master updated (6d12c16299 -> 1149cc1b9f), guix-commits, 2023/09/14
- 05/19: gnu: dpf-plugins: Update to 1.7., guix-commits, 2023/09/14
- 14/19: gnu: libftdi: Build ftdi_eeprom., guix-commits, 2023/09/14
- 09/19: gnu: icewm: Update to 3.4.1, guix-commits, 2023/09/14
- 12/19: gnu: libftdi: Do not build example programs., guix-commits, 2023/09/14
- 16/19: gnu: libftdi: Build Python bindings., guix-commits, 2023/09/14
- 02/19: gnu: makefile2graph: fix cross-compile.,
guix-commits <=
- 03/19: gnu: uncrustify: Update to 0.77.1., guix-commits, 2023/09/14
- 01/19: gnu: openmpi: Enable PMIx., guix-commits, 2023/09/14
- 04/19: gnu: uncrustify: use new style and gexp., guix-commits, 2023/09/14
- 08/19: gnu: armagetronad: Update to 0.2.9.1.1., guix-commits, 2023/09/14
- 07/19: gnu: kwin: Unwrap executable name for desktop file search., guix-commits, 2023/09/14
- 10/19: gnu: libftdi: Update package style., guix-commits, 2023/09/14
- 19/19: gnu: go-ipfs: Update to 0.13.0., guix-commits, 2023/09/14
- 06/19: gnu: nanosvg: Add a patch for PrusaSlicer 2.6., guix-commits, 2023/09/14
- 15/19: gnu: libftdi: Build C++ bindings., guix-commits, 2023/09/14
- 18/19: gnu: libftdi: Build API documentation., guix-commits, 2023/09/14