Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions code/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@ endif

LIBS =


# Disable easylogging++ logging to a file by default
CCOMMONFLAGS = -DPLATFORM_LINUX -Wall -Werror -Wno-unused-variable -std=c++14 \
-DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -pthread

# This warning depends on the gcc version, which differs between Mac and Linux
PLATFORM=$(shell uname)
ifneq ($(PLATFORM),Darwin)
CCOMMONFLAGS += -Wno-error=stringop-overflow=
endif

CNORMALFLAGS = $(CCOMMONFLAGS) -O3
CDEBUGFLAGS = $(CCOMMONFLAGS) -g
LINKCOMMONFLAGS = -pthread
Expand Down
Loading