~ruther/guix-local

1f3c679795791721a0684f9487b09d9c71ceea65 — Sergey Trofimov 2 months ago 0bd6326
gnu: tinyxml2: Build position independent.

* gnu/packages/xml.scm (tinyxml2)[arguments]{#:configure-flags}:
Add CMAKE_POSITION_INDEPENDENT_CODE.

Change-Id: I0e41895edc617225ed998d15d050e2306bf7bef5
Signed-off-by: Greg Hogan <code@greghogan.com>
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/xml.scm
M gnu/packages/xml.scm => gnu/packages/xml.scm +4 -0
@@ 1355,6 1355,10 @@ C++ programming language.")
       (sha256
        (base32 "19cvjaq16z777xyi8krgc5jif5wkjv1ikw2icijprlj0zi5511dd"))))
    (build-system cmake-build-system)
    (arguments
     (list
      #:configure-flags
      #~(list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")))
    (synopsis "Small XML parser for C++")
    (description "TinyXML2 is a small and simple XML parsing library for the
C++ programming language.")