From 05b6ae863bb5c36596d2ee8146d45ec9bf711579 Mon Sep 17 00:00:00 2001 From: tpajenka Date: Sun, 9 Mar 2014 00:37:00 +0100 Subject: [PATCH] no llvm ghc-option on windows os --- hgraph.cabal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hgraph.cabal b/hgraph.cabal index e827e0f..62f183e 100644 --- a/hgraph.cabal +++ b/hgraph.cabal @@ -30,7 +30,11 @@ executable hgraph DCB.DCB, DCB.Structures, DCB.IO - ghc-options: -Odph -rtsopts -threaded -fno-liberate-case -funfolding-use-threshold1000 -funfolding-keeness-factor1000 -optlo-O3 -fllvm + if os(windows) { + ghc-options: -Odph -rtsopts -threaded -fno-liberate-case -funfolding-use-threshold1000 -funfolding-keeness-factor1000 -optlo-O3 + } else { + ghc-options: -Odph -rtsopts -threaded -fno-liberate-case -funfolding-use-threshold1000 -funfolding-keeness-factor1000 -optlo-O3 -fllvm + } extensions: BangPatterns, DoAndIfThenElse