From: Chris Lattner Date: Mon, 20 May 2002 21:45:44 +0000 (+0000) Subject: Allow libraries to specify other libraries to link to X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c5208d4222048002e7a89a94d7174b3db2781a52;p=oota-llvm.git Allow libraries to specify other libraries to link to git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2678 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtime/Makefile.libs b/runtime/Makefile.libs index b5e21c28d84..66d6a7563ce 100644 --- a/runtime/Makefile.libs +++ b/runtime/Makefile.libs @@ -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