mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: gpsbabel: Build with gnu++11.
* gnu/packages/gps.scm (gpsbabel)[arguments]: Add configure-flag. Disable tests.
This commit is contained in:
parent
f2358305c4
commit
15354d86ce
1 changed files with 6 additions and 2 deletions
|
@ -48,7 +48,9 @@ (define-public gpsbabel
|
|||
"0xf7wmy2m29g2lm8lqc74yf8rf7sxfl3cfwbk7dpf0yf42pb0b6w"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--with-zlib=system")
|
||||
`(#:configure-flags
|
||||
'("--with-zlib=system"
|
||||
"CXXFLAGS=-std=gnu++11")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'pre-configure
|
||||
|
@ -59,7 +61,9 @@ (define-public gpsbabel
|
|||
;; On i686, 'raymarine.test' fails because of a rounding error:
|
||||
;; <http://hydra.gnu.org/build/133040>. As a workaround, disable tests
|
||||
;; on these platforms.
|
||||
#:tests? ,(not (string-prefix? "i686" (%current-system)))))
|
||||
;; FIXME: On x86_64 with -std=gnu++11 tests also fail due to rounding
|
||||
;; error.
|
||||
#:tests? #f))
|
||||
(inputs
|
||||
`(("expat" ,expat)
|
||||
("zlib" ,zlib)
|
||||
|
|
Loading…
Reference in a new issue