summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2017-10-24 14:23:30 +0200
committerMark Wielaard <mark@klomp.org>2017-10-26 16:26:37 +0200
commitab6b37ac32ddf2f2f11f800a770170814f5cbb8b (patch)
tree373f570b4d17ba3ac6fc7411460928b3a5ddc6ce /config
parenta5c72418f5373e8f75a5260c1e75d3f74747f168 (diff)
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')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/eu.am1
2 files changed, 5 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 1ed3c4af..de0d890d 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-24 Mark Wielaard <mark@klomp.org>
+
+ * eu.am (AM_CFLAGS): Handle -Wno-packed-not-aligned.
+
2017-04-27 Ulf Hermann <ulf.hermann@qt.io>
* eu.am: Use fpic_CFLAGS.
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))