We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67009a3 commit d21905fCopy full SHA for d21905f
code/Makefile
@@ -25,9 +25,17 @@ endif
25
26
LIBS =
27
28
+
29
# Disable easylogging++ logging to a file by default
30
CCOMMONFLAGS = -DPLATFORM_LINUX -Wall -Werror -Wno-unused-variable -std=c++14 \
31
-DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -pthread
32
33
+# This warning depends on the gcc version, which differs between Mac and Linux
34
+PLATFORM=$(shell uname)
35
+ifneq ($(PLATFORM),Darwin)
36
+CCOMMONFLAGS += -Wno-error=stringop-overflow=
37
+endif
38
39
CNORMALFLAGS = $(CCOMMONFLAGS) -O3
40
CDEBUGFLAGS = $(CCOMMONFLAGS) -g
41
LINKCOMMONFLAGS = -pthread
0 commit comments