diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2020-10-04 09:26:14 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-10-04 09:28:41 +0200 |
commit | d1edfd01b898fac387c8cbbdd6fe9b33480f8b43 (patch) | |
tree | 770ce7940a12faf3e0501cb6469c7343ac0cc67f | |
parent | 83ecbae3123cbe8fd3cb6e0d8f72f9a152b902b4 (diff) | |
download | guix-d1edfd01b898fac387c8cbbdd6fe9b33480f8b43.tar.gz |
gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want.
* gnu/packages/compression.scm (lz4)[arguments]<#:phases>[fix-testing]: Do not clobber CFLAGS.
-rw-r--r-- | gnu/packages/compression.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 506a33184a..9392eafbcc 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -806,6 +806,15 @@ decompression of some loosely related file formats used by Microsoft.") #:make-flags (list "CC=gcc" (string-append "prefix=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-testing + (lambda _ + ;; Setting variables in target "clangtest" influences + ;; the target "test". + ;; That is probably a bug in GNU Make. + ;; Work around it. + (substitute* "Makefile" + (("clangtest: CFLAGS \\?= .*") "\n")) + #t)) (delete 'configure) ;no configure script (add-before 'check 'disable-broken-test (lambda _ |