From 8ea49c12235fc22bfe9d192224507c5a1183ee98 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 10 Apr 2013 14:31:28 +0200 Subject: [PATCH] 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. --- config-unix.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config-unix.mk b/config-unix.mk index 494e60de..50695d75 100644 --- a/config-unix.mk +++ b/config-unix.mk @@ -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 \