From 0182393bcf7dbfdf7c17f2b204f790d627c7282a Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Tue, 12 Jun 2007 14:37:02 +0400 Subject: [PATCH] Fix -E handling sparse accepts -E[anything] as directive to preprocess only. On some mips targets -EL slips into command line resulting in 400-800M logs with preprocessing results :^) Accept '-E' only from now. Signed-off-by: Alexey Dobriyan --- lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.c b/lib.c index 190d8d7e..3f1bbb26 100644 --- a/lib.c +++ b/lib.c @@ -252,7 +252,8 @@ static char **handle_switch_D(char *arg, char **next) static char **handle_switch_E(char *arg, char **next) { - preprocess_only = 1; + if (arg[1] == '\0') + preprocess_only = 1; return next; } -- 2.11.4.GIT