[commit: ghc] master: Allow arbitrary options to be passed to tar compression (4d6dfc3)

git at git.haskell.org git at git.haskell.org
Wed Aug 8 21:21:17 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4d6dfc35c06abb747de318ada2f27985c9369a6d/ghc

>---------------------------------------------------------------

commit 4d6dfc35c06abb747de318ada2f27985c9369a6d
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Aug 8 16:08:02 2018 -0400

    Allow arbitrary options to be passed to tar compression


>---------------------------------------------------------------

4d6dfc35c06abb747de318ada2f27985c9369a6d
 mk/config.mk.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 90579fb..1105012 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -801,13 +801,13 @@ TAR_COMP      ?= xz
 
 # select compression command and .tar extension based on TAR_COMP value
 ifeq "$(TAR_COMP)" "bzip2"
-TAR_COMP_CMD  = $(BZIP2_CMD)
+TAR_COMP_CMD  = $(BZIP2_CMD) $(TAR_COMP_OPTS)
 TAR_COMP_EXT  = bz2
 else ifeq "$(TAR_COMP)" "gzip"
-TAR_COMP_CMD  = $(GZIP_CMD)
+TAR_COMP_CMD  = $(GZIP_CMD) $(TAR_COMP_OPTS)
 TAR_COMP_EXT  = gz
 else ifeq "$(TAR_COMP)" "xz"
-TAR_COMP_CMD  = $(XZ_CMD)
+TAR_COMP_CMD  = $(XZ_CMD) $(TAR_COMP_OPTS)
 TAR_COMP_EXT  = xz
 else
 $(error $$(TAR_COMP) set to unknown value "$(TAR_COMP)" (supported: "bzip2", "gzip", "xz"))



More information about the ghc-commits mailing list