diff options
author | Mark Wielaard <mark@klomp.org> | 2017-10-24 14:23:30 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2017-10-26 16:26:37 +0200 |
commit | ab6b37ac32ddf2f2f11f800a770170814f5cbb8b (patch) | |
tree | 373f570b4d17ba3ac6fc7411460928b3a5ddc6ce /config/eu.am | |
parent | a5c72418f5373e8f75a5260c1e75d3f74747f168 (diff) | |
download | elfutils-ab6b37ac32ddf2f2f11f800a770170814f5cbb8b.tar.gz |
backends: Ignore GCC8 -Wpacked-not-aligned for m68k_corenote.c.
The GCC8 -Wpacked-not-aligned warns if a structure field with explicit
padding in a packed structure will be misaligned. m68k prstatus core
notes are described by a packed structure which has such aligned structure
fields.
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'config/eu.am')
-rw-r--r-- | config/eu.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/eu.am b/config/eu.am index 796f3883..05c27f02 100644 --- a/config/eu.am +++ b/config/eu.am @@ -74,6 +74,7 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ $(if $($(*F)_no_Werror),,-Werror) \ $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \ + $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \ $($(*F)_CFLAGS) COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE)) |