mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18: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
|
||||
`(#: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
|
||||
|
|
Loading…
Reference in a new issue