darwin.h (LINK_SPEC): Pass -syslibroot to linker when -isysroot passed.
authorGeoffrey Keating <geoffk@apple.com>
Fri, 3 Jun 2005 23:21:19 +0000 (23:21 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 3 Jun 2005 23:21:19 +0000 (23:21 +0000)
* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
when -isysroot passed.

From-SVN: r100559

gcc/ChangeLog
gcc/config/darwin.h

index 2449d13860a3a8fc1311ade318dafdd44e4e8b90..70c64b6eed0e7a68ee6638643473caedc2824975 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 96a501a1e795995404e73a38aa18c02ca8d4a228..a1d687ff83172a8e92779124eb46585e7b4c21f7 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*} \