Improve the warning about -fllvm and -fPIC/-dynamic conflicting
authorIan Lynagh <igloo@earth.li>
Sat, 7 May 2011 22:35:39 +0000 (23:35 +0100)
committerIan Lynagh <igloo@earth.li>
Sat, 7 May 2011 22:35:39 +0000 (23:35 +0100)
commitcc91e4aba638606b266d0abe274f2643f80d733a
tree05f0ef94083c11cc0dde8acc628f75f0b590bd15
parent12fb1682d23b5f63b144080f29e94ff5b427aae6
Improve the warning about -fllvm and -fPIC/-dynamic conflicting

We now do it while parsing the flags, rather than at the end.
It also now uses the Platform's arch/os variables, rather than Config's.
compiler/main/DynFlags.hs