mirror of
https://github.com/nasa/trick.git
synced 2025-03-24 13:05:36 +00:00
Merge pull request #425 from iamthad/issue-424-trick-15.3-clang-3.5
Re-add '-std=c++11' in ICG CXXFLAGS when Clang version >= 3.5
This commit is contained in:
commit
39478e761a
@ -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