[commit: ghc] wip/fix-docs: Allow arbitrary options to be passed to tar compression (9228a13)

git at git.haskell.org git at git.haskell.org
Wed Aug 8 23:00:29 UTC 2018


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

On branch  : wip/fix-docs
Link       : http://ghc.haskell.org/trac/ghc/changeset/9228a13b1217f86dabe74b9072e7054abfb57fbd/ghc

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

commit 9228a13b1217f86dabe74b9072e7054abfb57fbd
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
    
    (cherry picked from commit 4d6dfc35c06abb747de318ada2f27985c9369a6d)


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

9228a13b1217f86dabe74b9072e7054abfb57fbd
 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 6ff8e0e..c112a5f 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -798,13 +798,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