From d78bbf92ef95e687d7706f44acfce91cd39eea60 Mon Sep 17 00:00:00 2001
From: Ian Lynagh <igloo@earth.li>
Date: Wed, 17 Nov 2010 15:52:59 +0000
Subject: [PATCH] Build random with the stage2 compiler

---
 ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc.mk b/ghc.mk
index 91bf43d6fe04..42e2ad6cfc97 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -299,7 +299,7 @@ DPH_PACKAGES := dph/dph-base dph/dph-prim-interface dph/dph-prim-seq \
 # Packages that, if present, must be built by the stage2 compiler,
 # because they use TH and/or annotations, or depend on other stage2
 # packages:
-STAGE2_PACKAGES := $(DPH_PACKAGES) haskell98 haskell2010
+STAGE2_PACKAGES := $(DPH_PACKAGES) haskell98 haskell2010 random
 # Packages that we shouldn't build if we don't have TH (e.g. because
 # we're building a profiled compiler):
 TH_PACKAGES := $(DPH_PACKAGES)
-- 
GitLab