darwin.h (LINK_SPEC): Pass -syslibroot to linker when -isysroot passed.

* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
	when -isysroot passed.

From-SVN: r100559
This commit is contained in:
Geoffrey Keating 2005-06-03 23:21:19 +00:00 committed by Geoffrey Keating
parent d4d1cfd444
commit d0b73789d3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-06-03 Geoffrey Keating <geoffk@apple.com>
* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
when -isysroot passed.
2005-06-03 Joseph S. Myers <joseph@codesourcery.com>
PR c/21879

View File

@ -275,6 +275,7 @@ Boston, MA 02111-1307, USA. */
%{Zseg_addr_table*: -seg_addr_table %*} \
%{Zseg_addr_table_filename*:-seg_addr_table_filename %*} \
%{sub_library*} %{sub_umbrella*} \
%{isysroot*:-syslibroot %*} \
%{twolevel_namespace} %{twolevel_namespace_hints} \
%{umbrella*} \
%{undefined*} \