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
1 changed files with 4 additions and 1 deletions

View File

@ -50,7 +50,10 @@
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("--with-zlib=system" '("--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 #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'pre-configure (add-before 'configure 'pre-configure