[llvm-commits] [dragonegg] r101056 - /dragonegg/trunk/Makefile
Duncan Sands
baldrick at free.fr
Mon Apr 12 12:20:11 PDT 2010
Author: baldrick
Date: Mon Apr 12 14:20:11 2010
New Revision: 101056
URL: http://llvm.org/viewvc/llvm-project?rev=101056&view=rev
Log:
Make sure that -fpic etc are passed at the same time as -shared, as
recommended by the gcc docs.
Modified:
dragonegg/trunk/Makefile
Modified: dragonegg/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Makefile?rev=101056&r1=101055&r2=101056&view=diff
==============================================================================
--- dragonegg/trunk/Makefile (original)
+++ dragonegg/trunk/Makefile Mon Apr 12 14:20:11 2010
@@ -77,8 +77,8 @@
$(PLUGIN): $(PLUGIN_OBJECTS) $(TARGET_OBJECT) $(TARGET_UTIL)
@echo Linking $@
- $(QUIET)$(CXX) -shared $(PLUGIN_OBJECTS) $(TARGET_OBJECT) -o $@ \
- $(LINKER) $(shell $(LLVM_CONFIG) --libs $(shell $(TARGET_UTIL) -p))
+ $(QUIET)$(CXX) -shared $(CXXFLAGS) $(PLUGIN_OBJECTS) $(TARGET_OBJECT) \
+ -o $@ $(LINKER) $(shell $(LLVM_CONFIG) --libs $(shell $(TARGET_UTIL) -p))
clean::
$(QUIET)rm -f *.o *.d $(PLUGIN) $(TARGET_UTIL)
More information about the llvm-commits
mailing list