mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.
* gnu/packages/crypto.scm (rhash)[arguments]<#:make-flags>: Explicity declare the _FILE_OFFSET_BITS we want.
This commit is contained in:
parent
358970fed6
commit
3c34647a6b
1 changed files with 7 additions and 2 deletions
|
@ -845,8 +845,13 @@ (define-public rhash
|
|||
"/bin/" ,target "-gcc"))
|
||||
'())))
|
||||
#:make-flags
|
||||
(list ;; This package uses a configure script that is not from GNU
|
||||
;; autotools; it doesn't handle the environment variable
|
||||
;; CFLAGS (or for that matter the configure option).
|
||||
;; Therefore, directly pass it to make.
|
||||
"CFLAGS=-D_FILE_OFFSET_BITS=64"
|
||||
;; The binaries in /bin need some help finding librhash.so.0.
|
||||
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
||||
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
||||
#:test-target "test" ; ‘make check’ just checks the sources
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue