summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2488203d..12a27c7f 100644
--- a/Makefile
+++ b/Makefile
@@ -179,6 +179,10 @@ ifneq (${COV},)
COV_INFO = ${BUILD}/coverage.info
endif
+ifdef HAVE_MACOS
+ CFLAGS += -DHAVE_MACOS -Wno-deprecated-declarations
+endif
+
# And a few more default utilities
LD = ${CC}
CXX ?= g++