build: squelch -Wdollar-in-identifier-extension warnings

The dtrace probes contain dollar signs. We know, llvm-gcc, and we don't
care. Suppress the warnings.
This commit is contained in:
Ben Noordhuis 2013-04-10 14:31:28 +02:00
parent bad707db3f
commit 8ea49c1223

View File

@ -80,6 +80,8 @@ endif
ifeq (darwin,$(PLATFORM))
HAVE_DTRACE=1
# dtrace(1) probes contain dollar signs.
CFLAGS += -Wno-dollar-in-identifier-extension
CPPFLAGS += -D_DARWIN_USE_64_BIT_INODE=1
LDFLAGS += -framework Foundation \
-framework CoreServices \