diff options
-rw-r--r-- | ox-arrays.cabal | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ox-arrays.cabal b/ox-arrays.cabal index f114709..69b7c55 100644 --- a/ox-arrays.cabal +++ b/ox-arrays.cabal @@ -37,8 +37,12 @@ library vector hs-source-dirs: src c-sources: cbits/arith.c - -- hmatrix assumes sse2, so we can too - cc-options: -O3 -msse2 -Wall -Wextra + + cc-options: -O3 -Wall -Wextra -std=c99 + if arch(x86_64) || arch(i386) + -- hmatrix assumes sse2, so we can too + cc-options: -msse2 + default-language: Haskell2010 ghc-options: -Wall other-extensions: TemplateHaskell |