mirror of
https://github.com/nasa/trick.git
synced 2025-04-05 10:26:47 +00:00
Re-add '-std=c++11' in ICG CXXFLAGS when Clang version >= 3.5 to address #424
This commit is contained in:
parent
3aadbb87c2
commit
1f966a71a4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user