2010-05-18 Rafael Espindola <espindola@google.com>

* options.cc (General_options::finalize): Handle -nostdlib.
	* options.h (nostdlib): New option.
	* script.cc (script_add_search_dir): Handle -nostdlib.
This commit is contained in:
Rafael Ávila de Espíndola
2010-05-18 18:08:03 +00:00
parent bd7b51b4c6
commit 91e75c8a9c
4 changed files with 12 additions and 2 deletions

View File

@@ -800,6 +800,10 @@ class General_options
DEFINE_dirlist(library_path, options::TWO_DASHES, 'L',
N_("Add directory to search path"), N_("DIR"));
DEFINE_bool(nostdlib, options::ONE_DASH, '\0', false,
N_(" Only search directories specified on the command line."),
NULL);
DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "",
N_("Ignored for compatibility"), N_("EMULATION"));