guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: gpsbabel: Fix a build failure with GCC 5.


From: Leo Famulari
Subject: 01/01: gnu: gpsbabel: Fix a build failure with GCC 5.
Date: Wed, 22 Mar 2017 17:04:58 -0400 (EDT)

lfam pushed a commit to branch core-updates
in repository guix.

commit e20dafd0a12e2f9098479e3087fb216d510cd058
Author: Leo Famulari <address@hidden>
Date:   Wed Mar 22 17:03:24 2017 -0400

    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(-)

diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm
index bc0f3ed..0a9038b 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]