Commit aff7b3c9 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Replace GccLt46 with gccGe46 as the former was always used negated.

parent 88fa774a
module Oracles.Config.Flag ( module Oracles.Config.Flag (
Flag (..), flag, Flag (..), flag,
crossCompiling, gccIsClang, gccLt46, crossCompiling, gccIsClang, gccGe46,
platformSupportsSharedLibs, ghcWithSMP, ghcWithNativeCodeGen platformSupportsSharedLibs, ghcWithSMP, ghcWithNativeCodeGen
) where ) where
...@@ -39,8 +39,8 @@ crossCompiling = flag CrossCompiling ...@@ -39,8 +39,8 @@ crossCompiling = flag CrossCompiling
gccIsClang :: Action Bool gccIsClang :: Action Bool
gccIsClang = flag GccIsClang gccIsClang = flag GccIsClang
gccLt46 :: Action Bool gccGe46 :: Action Bool
gccLt46 = flag GccLt46 gccGe46 = fmap not $ flag GccLt46
platformSupportsSharedLibs :: Action Bool platformSupportsSharedLibs :: Action Bool
platformSupportsSharedLibs = do platformSupportsSharedLibs = do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment