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:
parent
c36029e6dc
commit
9a01d0a5b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255487
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user