guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: hdf5: Build with -fPIC.


From: Ricardo Wurmus
Subject: 01/07: gnu: hdf5: Build with -fPIC.
Date: Mon, 12 Feb 2018 09:29:50 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 4dba441c2a7f79d1fdb7b766ce039690701b2c5c
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Feb 12 14:45:34 2018 +0100

    gnu: hdf5: Build with -fPIC.
    
    * gnu/packages/maths.scm (hdf5)[arguments]: Add -fPIC to CFLAGS and 
CXXFLAGS.
---
 gnu/packages/maths.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 3830393..d564de4 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 Eric Bavier <address@hidden>
 ;;; Copyright © 2014 Federico Beffa <address@hidden>
 ;;; Copyright © 2014 Mathieu Lirzin <address@hidden>
-;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2015 Sou Bunnbu <address@hidden>
 ;;; Copyright © 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <address@hidden>
@@ -704,7 +704,9 @@ incompatible with HDF5.")
        #:configure-flags '("--enable-cxx"
                            "--enable-fortran"
                            "--enable-fortran2003")
-
+       ;; Use -fPIC to allow the R bindings to link with the static libraries
+       #:make-flags (list "CFLAGS=-fPIC"
+                          "CXXFLAGS=-fPIC")
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'patch-configure



reply via email to

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