Allow libraries to specify other libraries to link to
authorChris Lattner <sabre@nondot.org>
Mon, 20 May 2002 21:45:44 +0000 (21:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 May 2002 21:45:44 +0000 (21:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2678 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/Makefile.libs

index b5e21c28d8439c8319495f58ac8db495816ff0aa..66d6a7563ce2684747b8fb793f82be3e9cc20275 100644 (file)
@@ -24,7 +24,7 @@ LObjects := $(addprefix Output/,$(LObjs))
 
 # Link the library, then perform postlink optimization...
 $(DESTLIBNAME): $(DESTLIBDIR)/.dir $(LObjects)
-       $(LLINK) -f $(LObjects) | \
+       $(LLINK) -f $(LObjects) $(LDFLAGS) | \
           $(LOPT) -f -cleangcc -raise -constprop -dce -o $@
 
 # Install target for libraries: Copy into the gcc install directory in chris's