[Lldb-commits] [lldb] r192917 - Rearranged linker flags for test suite.
Richard Mitton
richard at codersnotes.com
Thu Oct 17 13:09:34 PDT 2013
Author: rmitton
Date: Thu Oct 17 15:09:33 2013
New Revision: 192917
URL: http://llvm.org/viewvc/llvm-project?rev=192917&view=rev
Log:
Rearranged linker flags for test suite.
Some linkers (GNU ld) are picky about library order, so if we import libraries as part of our LDFLAGS then that needs to come after any DYLIB_NAME which might require that library.
Modified:
lldb/trunk/test/make/Makefile.rules
Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=192917&r1=192916&r2=192917&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Thu Oct 17 15:09:33 2013
@@ -259,7 +259,7 @@ endif
ifneq "$(DYLIB_NAME)" ""
ifeq "$(DYLIB_ONLY)" ""
$(EXE) : $(OBJECTS) $(ARCHIVE_NAME) $(DYLIB_FILENAME)
- $(LD) $(LDFLAGS) $(OBJECTS) $(ARCHIVE_NAME) -L. -l$(DYLIB_NAME) -o "$(EXE)"
+ $(LD) $(OBJECTS) $(ARCHIVE_NAME) -L. -l$(DYLIB_NAME) $(LDFLAGS) -o "$(EXE)"
else
EXE = $(DYLIB_FILENAME)
endif
More information about the lldb-commits
mailing list