All of lore.kernel.org
 help / color / mirror / Atom feed
* [[meta-mingw][PATCH] libgcrypt: disable amd64 optimization
@ 2020-02-25 18:02 Mark Hatle
  2020-02-25 18:36 ` [yocto] " Adrian Bunk
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2020-02-25 18:02 UTC (permalink / raw)
  To: yocto; +Cc: jpewhacker

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 <mark.hatle@kernel.crashing.org>
---
 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-17 16:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-25 18:02 [[meta-mingw][PATCH] libgcrypt: disable amd64 optimization Mark Hatle
2020-02-25 18:36 ` [yocto] " Adrian Bunk
2020-02-25 19:32   ` Mark Hatle
2020-03-03 15:19     ` Joshua Watt
2020-12-17  0:50       ` Mark Hatle
2020-12-17 16:17         ` Khem Raj
2020-12-17 16:45           ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.