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:
parent
44cba47e93
commit
e20dafd0a1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue