[commit: ghc] wip/nfs-locking: Add ArSupportsAtFile flag. (093c1a9)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:22:17 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/093c1a95e1e29df19985840d22138b798744da3c/ghc

>---------------------------------------------------------------

commit 093c1a95e1e29df19985840d22138b798744da3c
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Sep 24 23:42:10 2015 +0100

    Add ArSupportsAtFile flag.


>---------------------------------------------------------------

093c1a95e1e29df19985840d22138b798744da3c
 src/Oracles/Config/Flag.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Oracles/Config/Flag.hs b/src/Oracles/Config/Flag.hs
index 69d4884..f352ae3 100644
--- a/src/Oracles/Config/Flag.hs
+++ b/src/Oracles/Config/Flag.hs
@@ -8,7 +8,8 @@ import Base
 import Oracles.Config
 import Oracles.Config.Setting
 
-data Flag = CrossCompiling
+data Flag = ArSupportsAtFile
+          | CrossCompiling
           | GccIsClang
           | GccLt46
           | GhcUnregisterised
@@ -22,6 +23,7 @@ data Flag = CrossCompiling
 flag :: Flag -> Action Bool
 flag f = do
     key <- return $ case f of
+        ArSupportsAtFile   -> "ar-supports-at-file"
         CrossCompiling     -> "cross-compiling"
         GccIsClang         -> "gcc-is-clang"
         GccLt46            -> "gcc-lt-46"



More information about the ghc-commits mailing list