[llvm-commits] CVS: llvm/Makefile.rules
Reid Spencer
reid at x10sys.com
Thu May 19 14:34:16 PDT 2005
Changes in directory llvm:
Makefile.rules updated: 1.312 -> 1.313
---
Log message:
Make sure that tool names don't have any leading or trailing spaces in them.
If they do, it screws up the concatenation of the .exe suffix on cygwin.
---
Diffs of the changes: (+2 -2)
Makefile.rules | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.312 llvm/Makefile.rules:1.313
--- llvm/Makefile.rules:1.312 Thu May 19 15:26:14 2005
+++ llvm/Makefile.rules Thu May 19 15:59:12 2005
@@ -881,9 +881,9 @@
# Set up variables for building a tool.
#---------------------------------------------------------
ifdef EXAMPLE_TOOL
-ToolBuildPath := $(ExmplDir)/$(TOOLNAME)$(EXEEXT)
+ToolBuildPath := $(ExmplDir)/$(strip $(TOOLNAME))$(EXEEXT)
else
-ToolBuildPath := $(ToolDir)/$(TOOLNAME)$(EXEEXT)
+ToolBuildPath := $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT)
endif
#---------------------------------------------------------
More information about the llvm-commits
mailing list