diff options
author | dim <dim@FreeBSD.org> | 2011-12-16 16:32:08 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-16 16:32:08 +0000 |
commit | 6c26696aca3b47357cf63920754b7084c4c9d108 (patch) | |
tree | 5e00529fde3cbf24a95b89995c21bc70a03426b7 | |
parent | 9be38353d1944782fd993b22c9bd651c6738ab20 (diff) | |
download | FreeBSD-src-6c26696aca3b47357cf63920754b7084c4c9d108.zip FreeBSD-src-6c26696aca3b47357cf63920754b7084c4c9d108.tar.gz |
Unfortunately, clang gives warnings about sendmail code that cannot be
turned off yet. Since this is contrib code, and we don't really care
about the warnings, just turn make them non-fatal for now.
MFC after: 1 week
-rw-r--r-- | libexec/smrsh/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/smrsh/Makefile b/libexec/smrsh/Makefile index ae86155..40eab7f 100644 --- a/libexec/smrsh/Makefile +++ b/libexec/smrsh/Makefile @@ -17,6 +17,13 @@ LDADD= ${LIBSM} WARNS?= 2 +.if ${CC:T:Mclang} == "clang" +# Unfortunately, clang gives warnings about sendmail code that cannot +# be turned off yet. Since this is contrib code, and we don't really +# care about the warnings, just turn make them non-fatal for now. +NO_WERROR= +.endif + SRCS+= sm_os.h CLEANFILES+=sm_os.h |