svn commit: r229129 - stable/9/lib/libthread_db
Dimitry Andric
dim at FreeBSD.org
Sat Dec 31 17:14:57 UTC 2011
Author: dim
Date: Sat Dec 31 17:14:56 2011
New Revision: 229129
URL: http://svn.freebsd.org/changeset/base/229129
Log:
MFC r228578
In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect
warnings about alignment, so turn -Wcast-align off for now.
Modified:
stable/9/lib/libthread_db/Makefile
Directory Properties:
stable/9/lib/libthread_db/ (props changed)
Modified: stable/9/lib/libthread_db/Makefile
==============================================================================
--- stable/9/lib/libthread_db/Makefile Sat Dec 31 16:32:26 2011 (r229128)
+++ stable/9/lib/libthread_db/Makefile Sat Dec 31 17:14:56 2011 (r229129)
@@ -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>
More information about the svn-src-stable-9
mailing list