diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-02-28 18:30:18 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-02-28 18:30:18 +0000 |
| commit | 07b202a847e08b9cd976e40315cda902ced1c84a (patch) | |
| tree | 3aa885ba7c336d9e6d260c5deb1228863b043b89 /usr.bin | |
| parent | 8cfa93e4be0331e422d590579cb676f9f253b389 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/netstat/Makefile | 4 | ||||
| -rw-r--r-- | usr.bin/vacation/Makefile | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile index 3f7fe9feb4df..224f2b7f6615 100644 --- a/usr.bin/netstat/Makefile +++ b/usr.bin/netstat/Makefile @@ -8,11 +8,9 @@ SRCS= if.c inet.c main.c mbuf.c mroute.c netisr.c route.c \ unix.c atalk.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c WARNS?= 3 -.if ${CC:T:Mclang} == "clang" # XXX: Work around a clang false positive with format string warnings # and ntohs macros (see LLVM PR 11313). -NO_WFORMAT= -.endif +NO_WFORMAT.clang= CFLAGS+=-fno-strict-aliasing CFLAGS+=-DIPSEC diff --git a/usr.bin/vacation/Makefile b/usr.bin/vacation/Makefile index 2b13a28d81de..ad77dbae8c71 100644 --- a/usr.bin/vacation/Makefile +++ b/usr.bin/vacation/Makefile @@ -11,12 +11,10 @@ CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG 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 make them non-fatal for now. -NO_WERROR= -.endif +NO_WERROR.clang= LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSM= ${LIBSMDIR}/libsm.a |
