mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 18:56:31 +00:00
Standardize directory names
On some systems llvm-config includes -ledit as a system library to link with. Our application doesn't need -ledit and sometimes that library is not installed. I filtered out that library in the makefile. refs #63
This commit is contained in:
parent
d7d62cf590
commit
78f361bb71
@ -42,7 +42,8 @@ ifeq ($(TRICK_HOST_TYPE),Linux)
|
|||||||
CLANGLIBS += $(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --libs)
|
CLANGLIBS += $(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --libs)
|
||||||
ifeq ($(CLANG_MINOR_GTEQ5),1)
|
ifeq ($(CLANG_MINOR_GTEQ5),1)
|
||||||
CXXFLAGS += -std=c++11
|
CXXFLAGS += -std=c++11
|
||||||
CLANGLIBS += $(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --system-libs)
|
# 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
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user