diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2020-09-29 01:32:56 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-09-29 01:32:56 +0200 |
commit | c46ea41c016bbd1329a3f29f83f1dd0c11bddcaf (patch) | |
tree | d645d9f53d787185434e440600f94f7b7e57af1f | |
parent | 1a1814e42397860b02f7320acdd415d781dd3c60 (diff) | |
download | guix-c46ea41c016bbd1329a3f29f83f1dd0c11bddcaf.tar.gz |
gnu: libtasn1: Explicitly declare the _FILE_OFFSET_BITS we want.
* gnu/packages/tls.scm (libtasn1)[arguments]<#:phases>[ensure-file-offset-bits-64]: Explicity declare the _FILE_OFFSET_BITS we want.
-rw-r--r-- | gnu/packages/tls.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 510f0571c1..d60eeea692 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -86,7 +86,14 @@ "179jskl7dmfp1rd2khkzmlibzgki4wi6hvmmwfv7q49r728b03qf")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--disable-static"))) + `(#:configure-flags '("--disable-static") + #:phases + (modify-phases %standard-phases + (add-after 'unpack '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))))) (native-inputs `(("perl" ,perl))) (home-page "https://www.gnu.org/software/libtasn1/") (synopsis "ASN.1 library") |