Merge pull request #1937 from jzhou77/clang

Suppress warnings for clang on Linux
This commit is contained in:
Alvin Moore 2019-07-31 14:19:49 -07:00 committed by GitHub
commit 67c2c27372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ ifeq ($(PLATFORM),Linux)
CC ?= gcc
CXX ?= g++
ifneq '' '$(findstring clang++,$(CXX))'
CXXFLAGS += -Wno-undefined-var-template -Wno-unknown-warning-option -Wno-unused-command-line-argument
endif
CXXFLAGS += -std=c++17
BOOST_BASEDIR ?= /opt