gnu: gpsbabel: Fix a build failure with GCC 5.

* gnu/packages/gps.scm (gpsbabel)[arguments]: Add -fPIC to #:configure-flags.
This commit is contained in:
Leo Famulari 2017-03-22 17:03:24 -04:00
parent 44cba47e93
commit e20dafd0a1
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -50,7 +50,10 @@ (define-public gpsbabel
(arguments
`(#:configure-flags
'("--with-zlib=system"
"CXXFLAGS=-std=gnu++11")
;; XXX Use -fPIC to work around build problems with Qt, GCC 5, and
;; recent binutils:
;; https://codereview.qt-project.org/#/c/111787/
"CXXFLAGS=-std=gnu++11 -fPIC")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'pre-configure