summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/base.cabal4
-rw-r--r--libraries/ghc-bignum/ghc-bignum.cabal5
-rw-r--r--libraries/ghc-prim/ghc-prim.cabal4
-rw-r--r--libraries/template-haskell/template-haskell.cabal.in4
4 files changed, 0 insertions, 17 deletions
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal
index 195e32083f..a3b68bd02a 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -445,9 +445,5 @@ Library
if os(freebsd)
cc-options: -DLIBICONV_PLUG
- -- We need to set the unit id to base (without a version number)
- -- as it's magic.
- ghc-options: -this-unit-id base
-
-- Make sure we don't accidentally regress into anti-patterns
ghc-options: -Wcompat -Wnoncanonical-monad-instances
diff --git a/libraries/ghc-bignum/ghc-bignum.cabal b/libraries/ghc-bignum/ghc-bignum.cabal
index 59ba847272..f3ed9c865d 100644
--- a/libraries/ghc-bignum/ghc-bignum.cabal
+++ b/libraries/ghc-bignum/ghc-bignum.cabal
@@ -84,11 +84,6 @@ library
ghc-options: -Wall
cc-options: -std=c99 -Wall
- -- GHC has wired-in IDs from the ghc-bignum package. Hence the unit-id
- -- of the package should not contain the version: i.e. it must be
- -- "ghc-bignum" and not "ghc-bignum-1.0".
- ghc-options: -this-unit-id ghc-bignum
-
include-dirs: include
if flag(gmp)
diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal
index dbe5d18667..800cd4676f 100644
--- a/libraries/ghc-prim/ghc-prim.cabal
+++ b/libraries/ghc-prim/ghc-prim.cabal
@@ -87,7 +87,3 @@ Library
cbits/pext.c
cbits/popcnt.c
cbits/word2float.c
-
- -- We need to set the unit ID to ghc-prim (without a version number)
- -- as it's magic.
- ghc-options: -this-unit-id ghc-prim
diff --git a/libraries/template-haskell/template-haskell.cabal.in b/libraries/template-haskell/template-haskell.cabal.in
index 097e5bae24..6735c76af5 100644
--- a/libraries/template-haskell/template-haskell.cabal.in
+++ b/libraries/template-haskell/template-haskell.cabal.in
@@ -63,10 +63,6 @@ Library
ghc-options: -Wall
- -- We need to set the unit ID to template-haskell (without a
- -- version number) as it's magic.
- ghc-options: -this-unit-id template-haskell
-
-- This should match the default-extensions used in 'ghc.cabal'. This way,
-- GHCi can be used to load it along with the compiler.
Default-Extensions: