diff options
author | hiren <hiren@FreeBSD.org> | 2013-09-12 02:31:32 +0000 |
---|---|---|
committer | hiren <hiren@FreeBSD.org> | 2013-09-12 02:31:32 +0000 |
commit | 9ea4b5f27d73c61118db110125281791f3d32502 (patch) | |
tree | 10c5e82a9ef2c6fce04d93b229aa6568f2b04bce /tools | |
parent | b3237a11f6bed062af5f93c71908030b767e256c (diff) | |
download | FreeBSD-src-9ea4b5f27d73c61118db110125281791f3d32502.zip FreeBSD-src-9ea4b5f27d73c61118db110125281791f3d32502.tar.gz |
We are exceeding default limit (256) of bracket nesting and clang does not like
it. We should probably fix the code but appeasing clang with this fix for now.
gcc does not have such limit.
Reviewed by: jmg
Approved by: re (hrs), sbruno (mentor, implicit)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/net80211/wlanstats/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/tools/net80211/wlanstats/Makefile b/tools/tools/net80211/wlanstats/Makefile index da36495..48df17f 100644 --- a/tools/tools/net80211/wlanstats/Makefile +++ b/tools/tools/net80211/wlanstats/Makefile @@ -1,9 +1,14 @@ # $FreeBSD$ +.include <bsd.compiler.mk> + PROG= wlanstats BINDIR= /usr/local/bin NO_MAN= SRCS= statfoo.c wlanstats.c main.c +.if ${COMPILER_TYPE} == "clang" +CFLAGS+= -fbracket-depth=512 +.endif .include <bsd.prog.mk> |