summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cyrus-sasl.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index 3e65a1faf6..2d7cc91cec 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"))))))