guix-commits
[Top][All Lists]
Advanced

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

branch wip-file-offset-bits-64 updated: gnu: cyrus-sasl: Explicity decla


From: guix-commits
Subject: branch wip-file-offset-bits-64 updated: gnu: cyrus-sasl: Explicity declare the _FILE_OFFSET_BITS we want.
Date: Tue, 29 Sep 2020 10:05:48 -0400

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

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

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

commit 0e8923831ba7253587f5e7fc9f9aa90a6f94446b
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Tue Sep 29 15:50:58 2020 +0200

    gnu: cyrus-sasl: Explicity declare the _FILE_OFFSET_BITS we want.
    
    * gnu/packages/cyrus-sasl.scm 
(cyrus-sasl)[arguments]<#:phases>[ensure-file-offset-bits-64]:
    Explicity declare the _FILE_OFFSET_BITS we want.
---
 gnu/packages/cyrus-sasl.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index 3e65a1f..2d7cc91 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -68,6 +68,11 @@
 
       #:phases
       (modify-phases %standard-phases
+        (add-before 'configure 'ensure-file-offset-bits-64
+          (lambda _
+            (setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
+            (setenv "CXXFLAGS" "-D_FILE_OFFSET_BITS=64")
+            #t))
         (add-after 'unpack 'autogen
           (lambda _
             (invoke "autoreconf" "-vif"))))))



reply via email to

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