[llvm-commits] CVS: llvm/Makefile.rules
Reid Spencer
reid at x10sys.com
Mon Nov 8 09:32:22 PST 2004
Changes in directory llvm:
Makefile.rules updated: 1.232 -> 1.233
---
Log message:
Implement and document the TOOL_VERBOSE option that asks each tool invoked
to be verbose about its actions too.
---
Diffs of the changes: (+9 -1)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.232 llvm/Makefile.rules:1.233
--- llvm/Makefile.rules:1.232 Tue Nov 2 10:56:15 2004
+++ llvm/Makefile.rules Mon Nov 8 11:32:11 2004
@@ -222,6 +222,14 @@
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 @@
$(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)
More information about the llvm-commits
mailing list