* options.h (class General_options): Add --noinhibit-exec option.

* main.cc (main): Check --noinhibit-exec.
This commit is contained in:
Ian Lance Taylor 2008-04-09 01:19:09 +00:00
parent 0864d55193
commit cdb0b8f565
3 changed files with 10 additions and 1 deletions

View file

@ -538,6 +538,9 @@ class General_options
DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "",
N_("Ignored for compatibility"), N_("EMULATION"));
DEFINE_bool(noinhibit_exec, options::TWO_DASHES, '\0', false,
N_("Create an output file even if errors occur"), NULL);
DEFINE_string(output, options::TWO_DASHES, 'o', "a.out",
N_("Set output file name"), N_("FILE"));