From f45e314e19c903d2686d11184ecc689ffb444c0a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 21 Dec 2017 17:44:03 +0100 Subject: gnu: zstd: Disable unrelated format support. * gnu/packages/compression.scm (zstd)[arguments]: Add HAVE_LZMA=0 to --- gnu/packages/compression.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 9ddc76fe81..5cdb14ba37 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1609,7 +1609,13 @@ or junctions, and always follows hard links.") (delete 'configure)) ; no configure script #:make-flags (list "CC=gcc" - (string-append "PREFIX=" (assoc-ref %outputs "out"))) + (string-append "PREFIX=" (assoc-ref %outputs "out")) + ;; Skip auto-detection of, and creating a dependency on, the build + ;; environment's ‘xz’ for what amounts to a dubious feature anyway. + "HAVE_LZMA=0" + ;; Not currently detected, but be explicit & avoid surprises later. + "HAVE_LZ4=0" + "HAVE_ZLIB=0") #:test-target "test")) (home-page "http://zstd.net/") (synopsis "Zstandard real-time compression algorithm") -- cgit v1.2.3