mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
ff799a1a95
commit
683e3f4fab
1 changed files with 1 additions and 1 deletions
|
@ -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")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue