From eefd09d53cfbbaff1c603ebfc288a1f6f8cd3002 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 7 May 2013 17:39:12 -0400 Subject: add --- .../cipher-aes_0.1.7-0001-fix-cross-build.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 standalone/android/haskell-patches/cipher-aes_0.1.7-0001-fix-cross-build.patch diff --git a/standalone/android/haskell-patches/cipher-aes_0.1.7-0001-fix-cross-build.patch b/standalone/android/haskell-patches/cipher-aes_0.1.7-0001-fix-cross-build.patch new file mode 100644 index 000000000..c38e9fdff --- /dev/null +++ b/standalone/android/haskell-patches/cipher-aes_0.1.7-0001-fix-cross-build.patch @@ -0,0 +1,26 @@ +From ef1cfb5c9731f1e99d013e704ed465d3cff35df2 Mon Sep 17 00:00:00 2001 +From: Joey Hess +Date: Tue, 7 May 2013 17:38:22 -0400 +Subject: [PATCH] fix cross build + +--- + cipher-aes.cabal | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/cipher-aes.cabal b/cipher-aes.cabal +index 02ddfd0..c47bf0c 100644 +--- a/cipher-aes.cabal ++++ b/cipher-aes.cabal +@@ -38,9 +38,6 @@ Library + cbits/aes.c + cbits/gf.c + cbits/cpu.c +- if os(linux) && (arch(i386) || arch(x86_64)) +- CC-options: -mssse3 -maes -mpclmul -DWITH_AESNI +- C-sources: cbits/aes_x86ni.c + + Test-Suite test-cipher-aes + type: exitcode-stdio-1.0 +-- +1.7.10.4 + -- cgit v1.2.3