[dragonegg] r197666 - Fix dragonegg/Makefile to add --system-libs corresponding to llvm-config's change in r197664.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Dec 19 02:01:55 PST 2013
Author: chapuni
Date: Thu Dec 19 04:01:53 2013
New Revision: 197666
URL: http://llvm.org/viewvc/llvm-project?rev=197666&view=rev
Log:
Fix dragonegg/Makefile to add --system-libs corresponding to llvm-config's change in r197664.
Modified:
dragonegg/trunk/Makefile
Modified: dragonegg/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Makefile?rev=197666&r1=197665&r2=197666&view=diff
==============================================================================
--- dragonegg/trunk/Makefile (original)
+++ dragonegg/trunk/Makefile Thu Dec 19 04:01:53 2013
@@ -133,7 +133,8 @@ $(TARGET_UTIL_OBJECTS): %.o : $(TOP_DIR)
$(TARGET_UTIL): $(TARGET_UTIL_OBJECTS)
@echo Linking $@
- $(QUIET)$(CXX) -o $@ $^ $(shell $(LLVM_CONFIG) --libs support) \
+ $(QUIET)$(CXX) -o $@ $^ \
+ $(shell $(LLVM_CONFIG) --libs support --system-libs) \
$(LD_OPTIONS)
%.o : $(SRC_DIR)/%.cpp $(TARGET_UTIL)
@@ -149,7 +150,7 @@ $(PLUGIN): $(PLUGIN_OBJECTS) $(TARGET_OB
@echo Linking $@
$(QUIET)$(CXX) -o $@ $(LOADABLE_MODULE_OPTIONS) $(CXXFLAGS) \
$(PLUGIN_OBJECTS) $(TARGET_OBJECT) \
- $(shell $(LLVM_CONFIG) --libs $(LLVM_COMPONENTS) \
+ $(shell $(LLVM_CONFIG) --libs $(LLVM_COMPONENTS) --system-libs \
$(shell $(TARGET_UTIL) -p)) \
$(LD_OPTIONS)
More information about the llvm-commits
mailing list