In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect

warnings about alignment, so turn -Wcast-align off for now.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-16 15:00:56 +00:00
parent 5f02482794
commit 7be5a1fbf4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228578

View file

@ -16,4 +16,10 @@ SYM_MAPS+=${.CURDIR}/Symbol.map
SYMBOL_MAPS=${SYM_MAPS}
VERSION_DEF=${.CURDIR}/../libc/Versions.def
.if ${CC:T:Mclang} == "clang"
# Unfortunately, clang gives an incorrect warning about alignment in
# arch/i386/libpthread_md.c, so turn that off for now.
NO_WCAST_ALIGN=
.endif
.include <bsd.lib.mk>