From e20dafd0a12e2f9098479e3087fb216d510cd058 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 22 Mar 2017 17:03:24 -0400 Subject: gnu: gpsbabel: Fix a build failure with GCC 5. * gnu/packages/gps.scm (gpsbabel)[arguments]: Add -fPIC to #:configure-flags. --- gnu/packages/gps.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index bc0f3ed115..0a9038b7a4 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -50,7 +50,10 @@ (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 -- cgit v1.2.3