OSDN Git Service

* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Jun 2005 23:21:19 +0000 (23:21 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Jun 2005 23:21:19 +0000 (23:21 +0000)
when -isysroot passed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100559 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/darwin.h

index 2449d13..70c64b6 100644 (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
index 96a501a..a1d687f 100644 (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*} \