summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2017-09-09 14:25:30 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2017-09-09 14:27:22 +0200
commit400ead81e80f66ad7b1260b11b2a92f25ccc3e5a (patch)
tree58ef2a49a1ae1a561dd8494a1188b7fc824d1433 /rules
parent122f183d47fe46a54d2964111ce269939706b0f8 (diff)
downloadhaskell-400ead81e80f66ad7b1260b11b2a92f25ccc3e5a.tar.gz
Remove makefile logic for legacy -this-package-key
This isn't needed anymore as we don't support GHC < 8 anymore. This is a follow-up to 122f183
Diffstat (limited to 'rules')
-rw-r--r--rules/distdir-way-opts.mk10
1 files changed, 0 insertions, 10 deletions
diff --git a/rules/distdir-way-opts.mk b/rules/distdir-way-opts.mk
index 88847e86b7..45dc0ce988 100644
--- a/rules/distdir-way-opts.mk
+++ b/rules/distdir-way-opts.mk
@@ -105,20 +105,10 @@ define distdir-way-opts # args: $1 = dir, $2 = distdir, $3 = way, $4 = stage
# $1_$2_$3_MOST_HC_OPTS is also passed to C compilations when we use
# GHC as the C compiler.
-ifeq "$(SUPPORTS_THIS_UNIT_ID)" "NO"
-ifeq "$4" "0"
-$4_USE_THIS_UNIT_ID=NO
-endif
-endif
-
$1_$2_$4_DEP_OPTS = \
$$(foreach pkg,$$($1_$2_DEP_IPIDS),-package-id $$(pkg))
-ifeq "$($4_USE_THIS_UNIT_ID)" "NO"
-$4_THIS_UNIT_ID = -this-package-key
-else
$4_THIS_UNIT_ID = -this-unit-id
-endif
$1_$2_$3_MOST_HC_OPTS = \
$$(WAY_$3_HC_OPTS) \