shithub: scc

Download patch

ref: 3f7cefe8bfab6f9407dbaa61c15fce8bb70d0e64
parent: 50ba813176f09728635bd8aa849b18fd2644c037
author: Quentin Rameau <quinq@fifth.space>
date: Wed Jan 25 11:14:47 EST 2017

[cc1] fix tool name in usage()

Adding an arch suffix was a bad idea because the object is common to all
arch, and putting usage() into arch.c would have been ugly.

--- a/cc1/main.c
+++ b/cc1/main.c
@@ -44,7 +44,7 @@
 static void
 usage(void)
 {
-	die("usage: cc1-" ARCH " [-Ewd] [-D def[=val]]... [-U def]... "
+	die("usage: cc1 [-Ewd] [-D def[=val]]... [-U def]... "
 	    "[-I dir]... [-o output] [input]");
 }