guix-commits
[Top][All Lists]
Advanced

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

branch wip-file-offset-bits-64-sledgehammer updated: gnu: rhash: Explici


From: guix-commits
Subject: branch wip-file-offset-bits-64-sledgehammer updated: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.
Date: Tue, 29 Sep 2020 18:50:14 -0400

This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch wip-file-offset-bits-64-sledgehammer
in repository guix.

The following commit(s) were added to 
refs/heads/wip-file-offset-bits-64-sledgehammer by this push:
     new 7af5f16  gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.
7af5f16 is described below

commit 7af5f162a5e43e90793dcdb85aba4cd29f86ac1f
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



reply via email to

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