Skip to content

Commit 283d6fc

Browse files
committed
Enable alignment workaround for ARM arch
Or unit test fails with: * Testing type 12...PASS * Testing type 19...make[1]: *** [Makefile:4: test] Bus error make[1]: Leaving directory '/usr/src/RPM/BUILD/python-modules-dmidecode-3.12.2/unit-tests' make: *** [Makefile:104: unit] Error 2 Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
1 parent 44c4ace commit 283d6fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#endif
5454

5555
/* Use memory alignment workaround or not */
56-
#ifdef __ia64__
56+
#if defined(__ia64__) || defined(__arm__)
5757
#define ALIGNMENT_WORKAROUND
5858
#endif
5959

0 commit comments

Comments
 (0)