[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/15: gnu: tinyxml: Fix cross-compiling.
From: |
guix-commits |
Subject: |
14/15: gnu: tinyxml: Fix cross-compiling. |
Date: |
Wed, 6 Nov 2024 05:52:10 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 683e3f4fabdb431804d40c9cc7bd59240cc7d537
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 6 12:46:25 2024 +0200
gnu: tinyxml: Fix cross-compiling.
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom
'build-shared-library phase to use the correct compiler for the target.
Change-Id: I7db740fca974aa719e06fab4d67cee1a3e014312
---
gnu/packages/xml.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 575cc016bb..ef084f607b 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1278,7 +1278,7 @@ UTF-8 and UTF-16 encoding.")
(delete 'configure)
(add-after 'build 'build-shared-library
(lambda _
- (invoke "g++" "-Wall" "-O2" "-shared" "-fpic"
+ (invoke ,(cxx-for-target) "-Wall" "-O2" "-shared" "-fpic"
"tinyxml.cpp" "tinyxmlerror.cpp"
"tinyxmlparser.cpp" "tinystr.cpp"
"-o" "libtinyxml.so")))
- branch master updated (0c1a6db809 -> bd3d7c8587), guix-commits, 2024/11/06
- 04/15: gnu: go-github-com-libp2p-go-cidranger: Disable tests when cross-compiling., guix-commits, 2024/11/06
- 01/15: gnu: wfmash: Disable tests when cross-compiling., guix-commits, 2024/11/06
- 03/15: gnu: ngspice: Don't inherit #:tests flag., guix-commits, 2024/11/06
- 02/15: gnu: stress-ng: Disable tests when cross-compiling., guix-commits, 2024/11/06
- 11/15: gnu: Add shepherd-run., guix-commits, 2024/11/06
- 14/15: gnu: tinyxml: Fix cross-compiling.,
guix-commits <=
- 15/15: gnu: xlsx2csv: Honor the #:tests? flag., guix-commits, 2024/11/06
- 05/15: gnu: go-github-com-dgraph-io-ristretto: Disable tests when cross-compiling., guix-commits, 2024/11/06
- 06/15: gnu: go-github-com-cskr-pubsub: Don't force running the tests., guix-commits, 2024/11/06
- 07/15: gnu: go-github-com-fxamacker-cbor-v2: Disable tests when cross-compiling., guix-commits, 2024/11/06
- 08/15: gnu: libgrapheme: Don't force running the tests., guix-commits, 2024/11/06
- 09/15: gnu: rubber: Don't force running the tests., guix-commits, 2024/11/06
- 12/15: gnu: u-boot-tools: Honor the #:tests flag., guix-commits, 2024/11/06
- 10/15: gnu: fuse-2: Don't force running the tests., guix-commits, 2024/11/06
- 13/15: gnu: tinyxml: Honor the #:tests? flag., guix-commits, 2024/11/06