aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gccas
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-04 00:23:51 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-04 00:23:51 +0000
commita3e60626b45546b0afbf3794ce3e0b7012c0e862 (patch)
tree9d7e4655179f0f5a5f430e28cb67347a41301fa3 /tools/gccas
parent006c6872fe170d8da9bf16222776c518e622066e (diff)
downloadexternal_llvm-a3e60626b45546b0afbf3794ce3e0b7012c0e862.zip
external_llvm-a3e60626b45546b0afbf3794ce3e0b7012c0e862.tar.gz
external_llvm-a3e60626b45546b0afbf3794ce3e0b7012c0e862.tar.bz2
Make sure the gccas script is executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas')
-rw-r--r--tools/gccas/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/gccas/Makefile b/tools/gccas/Makefile
index b5a2886..14da3e7 100644
--- a/tools/gccas/Makefile
+++ b/tools/gccas/Makefile
@@ -12,15 +12,17 @@ include $(LEVEL)/Makefile.common
install-local:: $(PROJ_bindir)/gccas
-$(PROJ_bindir)/gccas : gccas.sh
+$(PROJ_bindir)/gccas : gccas.sh Makefile
$(Echo)Installing gccas shell script.
$(Verb)sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+ $(Verb)chmod 0755 $@
all-local:: $(ToolDir)/gccas
-$(ToolDir)/gccas : gccas.sh
+$(ToolDir)/gccas : gccas.sh Makefile
$(Echo)Making $(ToolDir)/gccas shell script.
$(Verb)sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+ $(Verb)chmod 0755 $@
clean-local::
$(Verb)$(RM) -f $(ToolDir)/gccas