mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: hdf5: Build with -fPIC.
* gnu/packages/maths.scm (hdf5)[arguments]: Add -fPIC to CFLAGS and CXXFLAGS.
This commit is contained in:
parent
ecae16bec5
commit
4dba441c2a
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
|
||||
;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
|
||||
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
|
@ -704,7 +704,9 @@ (define-public 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
|
||||
|
|
Loading…
Reference in a new issue