diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-05-18 18:08:03 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-05-18 18:08:03 +0000 |
commit | 91e75c8a9c3b92c1699a156890fc97587bc17098 (patch) | |
tree | a2f77d1f1165c7a5f6a78c260bd9be3bc42eb840 /gold/options.cc | |
parent | bd7b51b4c67b4b655e4783945b2828bec39c6721 (diff) | |
download | binutils-91e75c8a9c3b92c1699a156890fc97587bc17098.zip binutils-91e75c8a9c3b92c1699a156890fc97587bc17098.tar.gz binutils-91e75c8a9c3b92c1699a156890fc97587bc17098.tar.bz2 |
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.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/options.cc b/gold/options.cc index c566b99..b209f85 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -1074,7 +1074,7 @@ General_options::finalize() } while (next_pos != std::string::npos); } - else + else if (!this->nostdlib()) { // Even if they don't specify it, we add -L /lib and -L /usr/lib. // FIXME: We should only do this when configured in native mode. |