Fix the LLVM flag
Apparently Cabal normalizes the flags to lower case, and the
lookup for "LLVM" does nothing. Commit
2972b75a1896fc8d0db1e4d442f6aa5b2e1caf8e isn't wrong, but the problem
is that it ever gets to the Nothing case. The flag should always
be there.
commit4dddfaf273dd65c593bc2abeaa39b6070a003d4e
authorNiklas Larsson <niklas@mm.st>
dateSun 28 Jul 2013, 13:42 (13 years ago)
parent61d39da
Setup.hs+1−1
@@ -117,7 +117,7 @@ checkStdLib local withoutEffects verbosity
117117 ]
118118
119119llvmFlag flags =
120− case lookup (FlagName "LLVM") (S.configConfigurationsFlags flags) of
120+ case lookup (FlagName "llvm") (S.configConfigurationsFlags flags) of
121121 Just True -> True
122122 Just False -> False
123123 Nothing -> True