Skip to content

Commit 6a699ea

Browse files
committed
Only pass -march=i686 on x86
1 parent 07a17f8 commit 6a699ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ekg-core.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ library
3737
default-language: Haskell2010
3838

3939
ghc-options: -Wall
40-
cc-options: -march=i686
40+
if arch(i386)
41+
cc-options: -march=i686
4142
includes: distrib.h
4243
install-includes: distrib.h
4344
include-dirs: cbits

0 commit comments

Comments
 (0)