mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ (define-public gpsbabel
|
||||||
(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 a new issue