GNU bug report logs -
#26004
[PATCH] gnu: re2: fix CXX for cross-compilation
Previous Next
Reported by: Sergei Trofimovich <slyfox <at> inbox.ru>
Date: Mon, 6 Mar 2017 21:55:02 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26004 in the body.
You can then email your comments to 26004 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#26004
; Package
guix-patches
.
(Mon, 06 Mar 2017 21:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sergei Trofimovich <slyfox <at> inbox.ru>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 06 Mar 2017 21:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/regex.scm(re2): propagate target-g++ for CXX
---
gnu/packages/regex.scm | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/regex.scm b/gnu/packages/regex.scm
index 11f471603..144699853 100644
--- a/gnu/packages/regex.scm
+++ b/gnu/packages/regex.scm
@@ -22,7 +22,9 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix utils)
+ )
(define-public re2
(package
@@ -42,7 +44,16 @@
(arguments
`(#:test-target "test"
;; There is no configure step, but the Makefile respects a prefix.
- #:make-flags (list (string-append "prefix=" %output))
+ ;; As ./configure does not known anything about target CXX
+ ;; we need to specify <target>-g++ explicitly.
+ #:make-flags (list (string-append "prefix=" %output)
+ (string-append
+ "CXX=" ,(string-append
+ (if (%current-target-system)
+ (string-append
+ (%current-target-system) "-")
+ "")
+ "g++")))
#:phases
(modify-phases %standard-phases
(delete 'configure)
--
2.12.0
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sat, 11 Mar 2017 21:02:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sergei Trofimovich <slyfox <at> inbox.ru>
:
bug acknowledged by developer.
(Sat, 11 Mar 2017 21:02:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 26004-done <at> debbugs.gnu.org (full text, mbox):
Sergei Trofimovich <slyfox <at> inbox.ru> skribis:
> * gnu/packages/regex.scm(re2): propagate target-g++ for CXX
Pushed, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 09 Apr 2017 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.