gnu: qhull: Build position independent.

* gnu/packages/maths.scm (qhull)[arguments]: Add configure-flag to build
code position independent.
This commit is contained in:
Efraim Flashner 2021-05-25 16:25:35 +03:00
parent d2a8b72b2f
commit 0ffac75ece
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -248,7 +248,8 @@ (define-public qhull
"0zlbhg0lb6j60188c2xhcrvviskr079552icjldqhy1jhgmxghmm"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DLINK_APPS_SHARED=ON")))
`(#:configure-flags '("-DLINK_APPS_SHARED=ON"
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON")))
(synopsis "Calculate convex hulls and related structures")
(description
"@code{Qhull} computes the convex hull, Delaunay triangulation, Voronoi