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.

Signed-off-by: Mark Hatle <[email protected]>
---
 recipes-support/libgcrypt/libgcrypt_%.bbappend | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-support/libgcrypt/libgcrypt_%.bbappend 
b/recipes-support/libgcrypt/libgcrypt_%.bbappend
index 50dca09..92242d0 100644
--- a/recipes-support/libgcrypt/libgcrypt_%.bbappend
+++ b/recipes-support/libgcrypt/libgcrypt_%.bbappend
@@ -1,3 +1,4 @@
+EXTRA_OECONF_append_mingw32 = " --disable-amd64-as-feature-detection"
 
 # libcap does not support mingw32
 PACKAGECONFIG_remove_mingw32 = "capabilities"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48598): https://lists.yoctoproject.org/g/yocto/message/48598
Mute This Topic: https://lists.yoctoproject.org/mt/71538286/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to