Re-add '-std=c++11' in ICG CXXFLAGS when Clang version >= 3.5 to address #424

This commit is contained in:
Thadeus Fleming 2017-05-16 08:37:32 -05:00
parent 3aadbb87c2
commit 1f966a71a4

View File

@ -44,6 +44,7 @@ endif
ifeq ($(TRICK_HOST_TYPE),Linux)
CLANGLIBS += $(shell $(LLVM_HOME)/bin/llvm-config --libs)
ifeq ($(CLANG_MINOR_GTEQ5),1)
CXXFLAGS += -std=c++11
# Fedora 21 adds -ledit as a system lib, but it isn't installed, or required.
CLANGLIBS += $(filter-out -ledit,$(shell $(LLVM_HOME)/bin/llvm-config --system-libs))
endif