---

--- a/tools/gccas/Makefile
+++ b/tools/gccas/Makefile
@@ -10,18 +10,21 @@ LEVEL = ../..
 
 include $(LEVEL)/Makefile.common
 
+# Debian install path
+TOOLDIR = /usr/lib/llvm/bin
+
 install-local:: $(PROJ_bindir)/gccas
 	
 $(PROJ_bindir)/gccas : gccas.sh Makefile
 	$(Echo) Installing gccas shell script.
-	$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+	$(Verb) sed "s#@TOOLDIR@#$(TOOLDIR)#" $< > $@
 	$(Verb) chmod 0755 $@
 
 all-local:: $(ToolDir)/gccas
 	
 $(ToolDir)/gccas : gccas.sh Makefile
 	$(Echo) Making $(ToolDir)/gccas shell script.
-	$(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+	$(Verb) sed "s#@TOOLDIR@#$(TOOLDIR)#" $< > $@
 	$(Verb) chmod 0755 $@
 
 clean-local::
--- a/tools/gccld/Makefile
+++ b/tools/gccld/Makefile
@@ -11,18 +11,21 @@ LEVEL = ../..
 
 include $(LEVEL)/Makefile.common
 
+# Debian install path
+TOOLDIR = /usr/lib/llvm/bin
+
 install-local:: $(PROJ_bindir)/gccld
 	
 $(PROJ_bindir)/gccld : gccld.sh Makefile
 	$(Echo) Installing gccld shell script.
-	$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+	$(Verb) sed "s#@TOOLDIR@#$(TOOLDIR)#" $< > $@
 	$(Verb) chmod 0755 $@
 
 all-local:: $(ToolDir)/gccld
 	
 $(ToolDir)/gccld : gccld.sh Makefile
 	$(Echo) Making $(ToolDir)/gccld shell script.
-	$(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+	$(Verb) sed "s#@TOOLDIR@#$(TOOLDIR)#" $< > $@
 	$(Verb) chmod 0755 $@
 
 clean-local::
