guix-commits
[Top][All Lists]
Advanced

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

06/08: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.


From: guix-commits
Subject: 06/08: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want.
Date: Sun, 4 Oct 2020 03:30:11 -0400 (EDT)

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

commit 5335b1593429a64ce12fb8d4b423cc6959d02186
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]<#:phases>[configure]:
    Explicity declare the _FILE_OFFSET_BITS we want.
---
 gnu/packages/crypto.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 028c140..c4be604 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -854,7 +854,9 @@ BLAKE.")
            ;; ./configure is not GNU autotools' and doesn't gracefully handle
            ;; unrecognized options, so we must call it manually.
            (lambda* (#:key configure-flags #:allow-other-keys)
-             (apply invoke "./configure" configure-flags)))
+             (apply invoke "./configure"
+                           (string-append "--extra-cflags=" (getenv "CFLAGS"))
+                           configure-flags)))
          (add-before 'check 'patch-/bin/sh
            (lambda _
              (substitute* "Makefile"



reply via email to

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