The OBS armv7l build log shows a lot of warnings about casts increasing
the required alignment of target type. This suggests that this
architecture needs to use the slower byte access which is enabled by
-DALIGNMENT_WORKAROUND.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 config.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- dmidecode.orig/config.h
+++ dmidecode/config.h
@@ -22,7 +22,7 @@
 #endif
 
 /* Use memory alignment workaround or not */
-#ifdef __ia64__
+#if defined(__ia64__) || defined(__arm__)
 #define ALIGNMENT_WORKAROUND
 #endif
 


-- 
Jean Delvare
SUSE L3 Support

Reply via email to