summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-10 04:49:26 +0000
committerChris Lattner <sabre@nondot.org>2001-09-10 04:49:26 +0000
commit49f2b9470ea17178fa378c0ee2a314eade0c5ad0 (patch)
tree6d4c91c168afd44dcb5a71a58b0b265dc0aee604 /Makefile.rules
parent2a7eb230911584935bc7bd59fd72a64807850b5b (diff)
downloadllvm-49f2b9470ea17178fa378c0ee2a314eade0c5ad0.tar.gz
llvm-49f2b9470ea17178fa378c0ee2a314eade0c5ad0.tar.bz2
llvm-49f2b9470ea17178fa378c0ee2a314eade0c5ad0.tar.xz
Add support for tool specified linker options
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 8e41e495a0..c897ac1e47 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -164,10 +164,10 @@ clean::
rm -f $(TOOLEXENAMES)
$(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(LEVEL)/tools/Debug/.dir
- $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS)
+ $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS) $(TOOLLINKOPTS)
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(LEVEL)/tools/Release/.dir
- $(LinkO) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS)
+ $(LinkO) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS) $(TOOLLINKOPTS)
endif