From 49f2b9470ea17178fa378c0ee2a314eade0c5ad0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Sep 2001 04:49:26 +0000 Subject: [PATCH] Add support for tool specified linker options git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@527 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.common | 4 ++-- Makefile.rules | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.common b/Makefile.common index 8e41e495a01..c897ac1e47e 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 diff --git a/Makefile.rules b/Makefile.rules index 8e41e495a01..c897ac1e47e 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