Author: dim Date: Fri Dec 16 15:00:56 2011 New Revision: 228578 URL: http://svn.freebsd.org/changeset/base/228578
Log: 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 Modified: head/lib/libthread_db/Makefile Modified: head/lib/libthread_db/Makefile ============================================================================== --- head/lib/libthread_db/Makefile Fri Dec 16 14:30:58 2011 (r228577) +++ head/lib/libthread_db/Makefile Fri Dec 16 15:00:56 2011 (r228578) @@ -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> _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"