UNREG: ignore -fllvm (Trac #13495)
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 1 Apr 2017 09:35:52 +0000 (10:35 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 1 Apr 2017 09:47:15 +0000 (10:47 +0100)
commit74615f412ad3de2910a156ff494bfe5497fada7e
tree28497a93ffeb94edfe6b00da84f6c1d937f8e1f1
parent71916e1c018dded2e68d6769a2dbb8777da12664
UNREG: ignore -fllvm (Trac #13495)

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: Sergei Trofimovich <slyfox@gentoo.org>
compiler/main/DynFlags.hs