summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-10-03 23:12:08 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-10-03 23:12:08 +0200
commit1ef5538efab8f67e24a1bfa04ef5ee289dd2488e (patch)
tree91a3dedc6b565500ee5cc459d7b19f3affcb0622
parent0458e67095f317acbfebbe499606595e1cdd02a8 (diff)
downloadguix-old-guix-wip-file-offset-bits-64-sledgehammer.tar.gz
gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want. old-guix-wip-file-offset-bits-64-sledgehammer
* gnu/packages/compression.scm (lz4)[arguments]<#:make-flags>: Explicity
declare the _FILE_OFFSET_BITS we want.
-rw-r--r--gnu/packages/compression.scm2
1 files changed, 2 insertions, 0 deletions
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