Skip to contentSkip to conversation

libgcrypt: disable amd64 optimization

PATCH New Mark Hatle 1 participant 1 message Feb 25, 2020

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 libgcrypt: disable amd64 optimization

amd64 optimization when using with mingw32 sometimes results in:

| ../../libgcrypt-1.8.4/cipher/rijndael-tables.h:103:24: error: expected ']' before '.' token
| 103 | #define encT enc_tables.T

and then all usages of encT fail as well.

---
 recipes-support/libgcrypt/libgcrypt_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
recipes-support/libgcrypt/libgcrypt_%.bbappend +1 -0
index 50dca09..92242d0 100644
@@ -1,3 +1,4 @@
+EXTRA_OECONF_append_mingw32 = " --disable-amd64-as-feature-detection"
 
 # libcap does not support mingw32
 PACKAGECONFIG_remove_mingw32 = "capabilities"
Signature · 1 line
2.17.1