summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-05-04 18:25:07 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-05-04 18:25:07 +0000
commitd39c265800254a5b980694d437bb192fa02695e7 (patch)
tree2ff960ab2cfaa5d61bf53de331f6bbed710d54c8 /sys/conf
parent1b5c869d6482d7bb9348bdc0d5dbbd1893efc4fa (diff)
downloadsrc-test2-d39c265800254a5b980694d437bb192fa02695e7.tar.gz
src-test2-d39c265800254a5b980694d437bb192fa02695e7.zip
Notes
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 526d6ca7e089..1eea594f549f 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -65,6 +65,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
-Wno-error=shift-overflow \
-Wno-error=tautological-compare
.endif
+.if ${COMPILER_VERSION} >= 80000
+CWARNEXTRA+= -Wno-error=packed-not-aligned
+.endif
.else
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
CWARNEXTRA?= -Wno-uninitialized