• Sergei Trofimovich's avatar
    UNREG: ignore -fllvm (Trac #13495) · 74615f41
    Sergei Trofimovich authored
    
    
    Unregisterised GHC can only use C as a target backend
    (option used to be called -fvia-C). -fasm option was
    ignored with a warhing, but not -fllvm.
    
    jms noticed the failure when tried to use quick-cross
    build flavour. quick-cross enables -fllvm in makefile.
    
      "inplace/bin/ghc-stage1" ... -fllvm
      ghc-stage1: panic! (the 'impossible' happened)
        (GHC version 8.0.2 for powerpc-unknown-linux):
              LlvmCodeGen.Ppr: Cross compiling without valid target info.
    
    This change ignores -fllvm as well.
    Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
    74615f41
DynFlags.hs 220 KB