mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: lz4: Explicity declare the _FILE_OFFSET_BITS we want.
* gnu/packages/compression.scm (lz4)[arguments]<#:phases>[fix-testing]: Do not clobber CFLAGS.
This commit is contained in:
parent
83ecbae312
commit
d1edfd01b8
1 changed files with 9 additions and 0 deletions
|
@ -806,6 +806,15 @@ (define-public lz4
|
|||
#: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 _
|
||||
|
|
Loading…
Reference in a new issue