[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: multipath-tools: Set CC in #:make-flags.
From: |
Tobias Geerinckx-Rice |
Subject: |
07/08: gnu: multipath-tools: Set CC in #:make-flags. |
Date: |
Thu, 16 Aug 2018 12:45:24 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit bd835ff22ffdfdbdcbca73d07ad706468dba62de
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Thu Aug 16 15:53:39 2018 +0200
gnu: multipath-tools: Set CC in #:make-flags.
* gnu/packages/linux.scm (multipath-tools)[arguments]: Set ‘CC=gcc’
in #:make-flags instead of in a custom phase.
---
gnu/packages/linux.scm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 505119d..0477f40 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2996,8 +2996,9 @@ arrays when needed.")
#t))))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ; No tests.
- #:make-flags (list (string-append "DESTDIR="
+ '(#:tests? #f ; no tests
+ #:make-flags (list "CC=gcc"
+ (string-append "DESTDIR="
(assoc-ref %outputs "out"))
"SYSTEMDPATH=lib"
(string-append "LDFLAGS=-Wl,-rpath="
@@ -3020,11 +3021,7 @@ arrays when needed.")
(("/usr/include/libudev.h")
(string-append udev "/include/libudev.h")))
#t)))
- (delete 'configure)
- (add-before 'build 'set-CC
- (lambda _
- (setenv "CC" "gcc")
- #t)))))
+ (delete 'configure))))
(native-inputs
`(("perl" ,perl)
("pkg-config" ,pkg-config)
- branch master updated (037d185 -> 8f60e53), Tobias Geerinckx-Rice, 2018/08/16
- 05/08: gnu: strace: Update to 4.24., Tobias Geerinckx-Rice, 2018/08/16
- 03/08: gnu: efivar: Update to 36., Tobias Geerinckx-Rice, 2018/08/16
- 07/08: gnu: multipath-tools: Set CC in #:make-flags.,
Tobias Geerinckx-Rice <=
- 02/08: gnu: efivar: Update home page., Tobias Geerinckx-Rice, 2018/08/16
- 01/08: gnu: libnfsidmap: Update to 0.27., Tobias Geerinckx-Rice, 2018/08/16
- 04/08: gnu: psmisc: Update to 23.2., Tobias Geerinckx-Rice, 2018/08/16
- 06/08: gnu: multipath-tools: Update to 0.7.7., Tobias Geerinckx-Rice, 2018/08/16
- 08/08: gnu: python-pyxdg: Use PYPI-URI., Tobias Geerinckx-Rice, 2018/08/16