From ab6b37ac32ddf2f2f11f800a770170814f5cbb8b Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 24 Oct 2017 14:23:30 +0200 Subject: 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 --- config/eu.am | 1 + 1 file changed, 1 insertion(+) (limited to 'config/eu.am') 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)) -- cgit v1.2.3