diff options
-rw-r--r-- | packages/base/hmatrix.cabal | 7 | ||||
-rw-r--r-- | packages/gsl/hmatrix-gsl.cabal | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/packages/base/hmatrix.cabal b/packages/base/hmatrix.cabal index 7bfc762..69ec8fa 100644 --- a/packages/base/hmatrix.cabal +++ b/packages/base/hmatrix.cabal | |||
@@ -87,7 +87,12 @@ library | |||
87 | -fno-warn-missing-signatures | 87 | -fno-warn-missing-signatures |
88 | -fno-warn-orphans | 88 | -fno-warn-orphans |
89 | 89 | ||
90 | cc-options: -O4 -msse2 -Wall | 90 | cc-options: -O4 -Wall |
91 | |||
92 | if arch(x86_64) | ||
93 | cc-options: -msse2 | ||
94 | if arch(i386) | ||
95 | cc-options: -msse2 | ||
91 | 96 | ||
92 | cpp-options: -DBINARY | 97 | cpp-options: -DBINARY |
93 | 98 | ||
diff --git a/packages/gsl/hmatrix-gsl.cabal b/packages/gsl/hmatrix-gsl.cabal index 7028bae..6f983f2 100644 --- a/packages/gsl/hmatrix-gsl.cabal +++ b/packages/gsl/hmatrix-gsl.cabal | |||
@@ -53,7 +53,12 @@ library | |||
53 | 53 | ||
54 | C-sources: src/Numeric/GSL/gsl-aux.c | 54 | C-sources: src/Numeric/GSL/gsl-aux.c |
55 | 55 | ||
56 | cc-options: -O4 -msse2 -Wall | 56 | cc-options: -O4 -Wall |
57 | |||
58 | if arch(x86_64) | ||
59 | cc-options: -msse2 | ||
60 | if arch(i386) | ||
61 | cc-options: -msse2 | ||
57 | 62 | ||
58 | ghc-options: -Wall -fno-warn-missing-signatures | 63 | ghc-options: -Wall -fno-warn-missing-signatures |
59 | -fno-warn-orphans | 64 | -fno-warn-orphans |