[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want.
From: |
guix-commits |
Subject: |
08/08: gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want. |
Date: |
Sun, 4 Oct 2020 03:30:12 -0400 (EDT) |
dannym pushed a commit to branch wip-file-offset-bits-64-sledgehammer
in repository guix.
commit d1edfd01b898fac387c8cbbdd6fe9b33480f8b43
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Sun Oct 4 09:26:14 2020 +0200
gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want.
* gnu/packages/compression.scm (lz4)[arguments]<#:phases>[fix-testing]:
Do not clobber CFLAGS.
---
gnu/packages/compression.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 506a331..9392eaf 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 _
- branch wip-file-offset-bits-64-sledgehammer created (now d1edfd0), guix-commits, 2020/10/04
- 01/08: gnu: glibc: Catch all cases of a glibc user not requesting 64-bit offsets and then using readdir regardless., guix-commits, 2020/10/04
- 04/08: gnu: glibc: Do not explicitly set _FILE_OFFSET_BITS., guix-commits, 2020/10/04
- 07/08: gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/10/04
- 05/08: gnu: glibc-mesboot0: Do not explicitly set _FILE_OFFSET_BITS., guix-commits, 2020/10/04
- 03/08: build-system/gnu: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/10/04
- 06/08: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/10/04
- 08/08: gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want.,
guix-commits <=
- 02/08: gnu: glibc-mesboot0: Catch all cases of a glibc user not requesting 64-bit offsets and then using readdir regardless., guix-commits, 2020/10/04