blob: 09f4993a250333e05028fdaa89a600de02ece44a [file] [log] [blame]
Brad Bishop868407c2019-11-04 13:24:47 -05001Subject: [PATCH] Don't build with -Werror to fix compile error.
2
3| 550 | _dump_sgpio_amd(&amd_reg->amd);
4| | ^~~~~~~~~~~~~
5| amd_sgpio.c: In function '_write_amd_register':
6| amd_sgpio.c:558:18: error: taking address of packed member of 'struct amd_register' may result in an unaligned pointer value [-Werror=address-of-packed-member]
7
Brad Bishop2f973922019-11-11 07:58:48 -05008Upstream-Status: Submitted
9https://github.com/intel/ledmon/pull/48/commits
Brad Bishop868407c2019-11-04 13:24:47 -050010
11Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
12---
13 configure.ac | 1 -
14 1 file changed, 1 deletion(-)
15
16diff --git a/configure.ac b/configure.ac
17index 7bc20f8..7e01bd5 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -22,7 +22,6 @@ AX_AM_CFLAGS_ADD([-Werror=format-truncation=1])
21 AX_AM_CFLAGS_ADD([-Werror=shift-negative-value])
22 AX_AM_CFLAGS_ADD([-Werror=alloca])
23 AX_AM_CFLAGS_ADD([-Werror=missing-field-initializers])
24-AX_AM_CFLAGS_ADD([-Werror])
25 AX_AM_CFLAGS_ADD([-Werror=format-signedness])
26
27 AC_SUBST([AM_CFLAGS])
28--
292.7.4
30