diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-08 17:32:12 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-08 17:32:12 +0000 |
commit | cceed9fc770e1501540f81b8dce5dfd83421a7ca (patch) | |
tree | 3fdebf5a3f360a2fd58123d33503fa99fea10636 /Makefile.rules | |
parent | a4213b278317d02b53e7636faba059f47a9eb3ef (diff) | |
download | llvm-cceed9fc770e1501540f81b8dce5dfd83421a7ca.tar.gz llvm-cceed9fc770e1501540f81b8dce5dfd83421a7ca.tar.bz2 llvm-cceed9fc770e1501540f81b8dce5dfd83421a7ca.tar.xz |
Implement and document the TOOL_VERBOSE option that asks each tool invoked
to be verbose about its actions too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index b5f3853866..69bb2c9926 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -222,6 +222,14 @@ else LD.Flags += -rpath $(LibDir) endif +ifdef TOOL_VERBOSE + C.Flags += -v + CXX.Flags += -v + LD.Flags += -v + BCLinkLib.Flags += -v + VERBOSE := 1 +endif + # Adjust settings for verbose mode ifndef VERBOSE Verb := @ @@ -268,7 +276,7 @@ Link = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \ $(CompileCommonOpts) $(LD.Flags) $(Strip) Relink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \ $(CompileCommonOpts) -BCLinkLib = $(LLVMGCC) -shared -nostdlib +BCLinkLib = $(LLVMGCC) -shared -nostdlib $(BCLinkLib.Flags) LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) Burg = $(BURG) -I $(BUILD_SRC_DIR) TableGen = $(TBLGEN) -I $(BUILD_SRC_DIR) |