From deca23ec69c3af1f47e737a845ac7c62e16e9e5e Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 31 Aug 2008 22:12:04 +0000 Subject: [PATCH] Handle -fno-syntax-only. [r21605] --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index d09119f..a4eafe7 100644 --- a/main.c +++ b/main.c @@ -648,7 +648,7 @@ int main(int argc, char **argv) } else if (streq(opt, "short-wchar")) { opt_short_wchar_t = truth_value; } else if (streq(opt, "syntax-only")) { - mode = ParseOnly; + mode = truth_value ? ParseOnly : CompileAssembleLink; } else if (streq(opt, "omit-frame-pointer")) { set_be_option(truth_value ? "omitfp" : "omitfp=no"); } else if (streq(opt, "strength-reduce")) { -- 2.20.1