[commit: ghc] ghc-8.6: Allow arbitrary options to be passed to tar compression (6328e89)

git at git.haskell.org git at git.haskell.org
Thu Aug 9 12:35:30 UTC 2018


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

On branch  : ghc-8.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/6328e89f3e50f8bb89866c430b9d2632f2de0bc1/ghc

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

commit 6328e89f3e50f8bb89866c430b9d2632f2de0bc1
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)


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

6328e89f3e50f8bb89866c430b9d2632f2de0bc1
 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