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
This commit is contained in:
Chris Lattner 2002-05-20 21:45:44 +00:00
parent 2e0769ea16
commit c5208d4222

View 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