From 1ef5538efab8f67e24a1bfa04ef5ee289dd2488e Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 3 Oct 2020 23:12:08 +0200 Subject: gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want. * gnu/packages/compression.scm (lz4)[arguments]<#:make-flags>: Explicity declare the _FILE_OFFSET_BITS we want. --- gnu/packages/compression.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 506a33184a..9c9c30ec56 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -804,6 +804,8 @@ decompression of some loosely related file formats used by Microsoft.") (arguments `(#:test-target "test" #:make-flags (list "CC=gcc" + "CFLAGS=-g -O2 -D_FILE_OFFSET_BITS=64" + "CXXFLAGS=-g -O2 -D_FILE_OFFSET_BITS=64" (string-append "prefix=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure) ;no configure script -- cgit 1.4.1