diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-05 18:32:53 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-05 18:32:53 +0000 |
| commit | a45fc83cc54489490d94596a2ea0671cc26047ca (patch) | |
| tree | 7c655dc786a04ea12989e5f0482c0a3e6def819f | |
| parent | 53fe1d28fa79983903d24585e3db2638b7f53645 (diff) | |
Notes
| -rw-r--r-- | share/mk/bsd.sys.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 7a4ed45a8a6d..e2aba02364a0 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -84,6 +84,9 @@ CWARNFLAGS.clang+= -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter .endif # WARNS <= 2 .if ${WARNS} <= 1 CWARNFLAGS.clang+= -Wno-parentheses +.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 40000 +CWARNFLAGS.clang+= -Wno-address-of-packed-member +.endif .endif # WARNS <= 1 .if defined(NO_WARRAY_BOUNDS) CWARNFLAGS.clang+= -Wno-array-bounds |
