From e1fc717b4d1dd8a0de0a07c452689aae35ba47c0 Mon Sep 17 00:00:00 2001
From: Tomas Ritter <tomas.ritter1@gmail.com>
Date: Wed, 6 Nov 2019 20:51:26 +0100
Subject: [PATCH] Rustc compilation flags for aesni

---
 recipes/block_encrypt/recipe.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes/block_encrypt/recipe.sh b/recipes/block_encrypt/recipe.sh
index 5f51f41e4..e698ea4ae 100644
--- a/recipes/block_encrypt/recipe.sh
+++ b/recipes/block_encrypt/recipe.sh
@@ -1,2 +1,3 @@
 GIT=https://github.com/tomasritter/block_encrypt.git
+CARGO=(env RUSTFLAGS="$PREFIX_RUSTFLAGS -C target-feature=+aes" xargo)
 
-- 
GitLab