diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-08-08 16:08:02 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-08-08 16:09:26 -0400 |
commit | 4d6dfc35c06abb747de318ada2f27985c9369a6d (patch) | |
tree | c2315c20df245ff50fa9c2a70d47096a36de7de7 /mk | |
parent | e2db2d5fec79086cf18dd1910ca9dc416cd7afc6 (diff) | |
download | haskell-4d6dfc35c06abb747de318ada2f27985c9369a6d.tar.gz |
Allow arbitrary options to be passed to tar compression
Diffstat (limited to 'mk')
-rw-r--r-- | mk/config.mk.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 90579fbec2..11050120d4 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")) |