[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.
From: |
guix-commits |
Subject: |
09/11: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want. |
Date: |
Tue, 29 Sep 2020 09:32:20 -0400 (EDT) |
dannym pushed a commit to branch wip-file-offset-bits-64
in repository guix.
commit 3c34647a6b4834f71db1c27fd0aeb963d3267888
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Tue Sep 29 12:45:35 2020 +0200
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.
---
gnu/packages/crypto.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 028c140..a10dd62 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -845,8 +845,13 @@ BLAKE.")
"/bin/" ,target "-gcc"))
'())))
#:make-flags
- ;; The binaries in /bin need some help finding librhash.so.0.
- (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
+ (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.
+ (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
#:test-target "test" ; ‘make check’ just checks the sources
#:phases
(modify-phases %standard-phases
- branch wip-file-offset-bits-64 created (now 911e33e), guix-commits, 2020/09/29
- 03/11: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 05/11: gnu: libtasn1: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 01/11: gnu: glibc-final: Catch all cases of a glibc user not requesting 64-bit offsets and then using readdir regardless., guix-commits, 2020/09/29
- 02/11: gnu: gcc: Use _FILE_OFFSET_BITS=64 for libstdc++-v3., guix-commits, 2020/09/29
- 04/11: gnu: fontconfig: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 06/11: gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 11/11: gnu: cmake: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 09/11: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.,
guix-commits <=
- 07/11: gnu: libtool: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 08/11: gnu: libltdl: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 10/11: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29