diff options
author | Chris Johns <chrisj@rtems.org> | 2012-11-19 13:13:52 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-11-19 13:13:52 +1100 |
commit | 9b66527bebda528a8f65ae1376c2085fc409fe21 (patch) | |
tree | 1305c8191ce8b22587434fb19c5b60cd73b27052 /linkers/rtems-syms.cpp | |
parent | 596e5fa59110601c6b72b24d6308187939a1ad21 (diff) |
Only look for standard library paths if standard libraries and enabled.
Diffstat (limited to 'linkers/rtems-syms.cpp')
-rw-r--r-- | linkers/rtems-syms.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index 822e0e6..74ebcd8 100644 --- a/linkers/rtems-syms.cpp +++ b/linkers/rtems-syms.cpp @@ -253,7 +253,8 @@ main (int argc, char* argv[]) /* * Get the standard library paths */ - rld::cc::get_standard_libpaths (libpaths); + if (standard_libs) + rld::cc::get_standard_libpaths (libpaths); /* * Get the command line libraries. |