aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/xml.scm2
1 files changed, 1 insertions, 1 deletions
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")))