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:
Danny Milosavljevic 2020-10-04 09:26:14 +02:00
parent 83ecbae312
commit d1edfd01b8
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -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 _