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.
This commit is contained in:
Danny Milosavljevic 2020-09-29 15:50:58 +02:00
parent 911e33ead1
commit 0e8923831b
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -68,6 +68,11 @@ (define-public cyrus-sasl
#: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"))))))