Wolfgang Jeltsch pushed to branch wip/jeltsch/ghc-9-14-building-base at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • libraries/base/base.cabal.in
    ... ... @@ -33,9 +33,10 @@ Library
    33 33
             ghc-internal == @ProjectVersionForLib@.*,
    
    34 34
             ghc-prim,
    
    35 35
     
    
    36
    -    -- Set -frebindable-known-names,
    
    37
    -    -- since GHC.Essentials isn't available yet
    
    38
    -    ghc-options: -frebindable-known-names
    
    36
    +    if impl(ghc >= 10.1)
    
    37
    +        -- Set -frebindable-known-names,
    
    38
    +        -- since GHC.Essentials isn't available yet
    
    39
    +        ghc-options: -frebindable-known-names
    
    39 40
     
    
    40 41
         exposed-modules:
    
    41 42
               Control.Applicative