1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

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)
This commit is contained in:
Hiren Panchasara 2013-09-12 02:31:32 +00:00
parent c36029e6dc
commit 9a01d0a5b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255487

View File

@ -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>