summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'ghc')
-rw-r--r--ghc/ghc.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index 8d4c1dfe8e..319f969c75 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -53,9 +53,8 @@ ghc_stage2_MORE_HC_OPTS += -debug
ghc_stage3_MORE_HC_OPTS += -debug
endif
-ifeq "$(GhcDynamic)" "YES"
-ghc_stage2_MORE_HC_OPTS += -dynamic
-ghc_stage3_MORE_HC_OPTS += -dynamic
+ifneq "$(GhcDynamic)" ""
+$(error GhcDynamic is no longer supported, use DYNAMIC_GHC_PROGRAMS instead)
endif
ifeq "$(GhcThreaded)" "YES"