mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: lpsolve: Fix compilation issue.
Reported by Andreas Enge <andreas@enge.fr> at <https://lists.gnu.org/archive/html/guix-devel/2016-07/msg01018.html>. * gnu/packages/maths.scm (lpsolve)[source]: Augment 'snippet'.
This commit is contained in:
parent
6689d09457
commit
5dbfbef729
1 changed files with 8 additions and 1 deletions
|
@ -2189,7 +2189,14 @@ (define-public lpsolve
|
|||
;; Pretend to be on a 64 bit platform to obtain a common directory
|
||||
;; name for the build results on all architectures; nothing else
|
||||
;; seems to depend on it.
|
||||
(("^PLATFORM=.*$") "PLATFORM=ux64\n")))))
|
||||
(("^PLATFORM=.*$") "PLATFORM=ux64\n")
|
||||
|
||||
;; The check for 'isnan' as it is written fails with
|
||||
;; "non-floating-point argument in call to function
|
||||
;; ‘__builtin_isnan’", which leads to the 'NOISNAN' cpp macro
|
||||
;; definition, which in turn leads to bad things. Fix the feature
|
||||
;; test.
|
||||
(("isnan\\(0\\)") "isnan(0.)")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
|
|
Loading…
Reference in a new issue