We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa25693 commit 61e0d6aCopy full SHA for 61e0d6a
Setup.hs
@@ -1,9 +1,14 @@
1
+{-# LANGUAGE CPP #-}
2
import Distribution.Simple
3
import System.Environment
4
5
main = do
6
+#if __GLASGOW_HASKELL__ < 810
7
+ defaultMain
8
+#else
9
args <- getArgs
10
if head args == "configure"
11
then defaultMainArgs $ [ "--ghc-options", "-optcxx-std=c++11"
12
] ++ args
- else defaultMain
13
+ else defaultMain
14
+#endif
0 commit comments