diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-05-05 21:22:42 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-05-05 21:22:42 +0200 |
commit | 9034faa533b865393c1bb40fe18b0ad49a4d9e20 (patch) | |
tree | 16f0d51ae7d052fbde9ba9b229e8e26f22ded827 /packages/base | |
parent | 2c8a5bc753e5787d2a11487c2a598f3cfbe2cecf (diff) |
arch flags for msse2
Diffstat (limited to 'packages/base')
-rw-r--r-- | packages/base/hmatrix.cabal | 7 |
1 files changed, 6 insertions, 1 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 | ||