mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want.
* gnu/packages/tls.scm (openssl)[arguments]<#:phases>[ensure-file-offset-bits-64]: Explicity declare the _FILE_OFFSET_BITS we want.
This commit is contained in:
parent
c46ea41c01
commit
5b88689933
1 changed files with 5 additions and 0 deletions
|
@ -354,6 +354,11 @@ (define-public openssl
|
|||
"linux-aarch64")))
|
||||
#t)))
|
||||
'())
|
||||
(add-before 'configure 'ensure-file-offset-bits-64
|
||||
;; Note: lib/gl/sys/types.h has off_t, but only for Windows.
|
||||
(lambda _
|
||||
(setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
|
||||
#t))
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue