--- gcc-4.2.4/gcc/config/darwin.h.orig 2009-10-27 21:51:57.000000000 +0900 +++ gcc-4.2.4/gcc/config/darwin.h 2009-10-27 21:53:42.000000000 +0900 @@ -237,12 +237,7 @@ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \ %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}}" -#ifdef TARGET_SYSTEM_ROOT -#define LINK_SYSROOT_SPEC \ - "%{isysroot*:-syslibroot %*;:-syslibroot " TARGET_SYSTEM_ROOT "}" -#else -#define LINK_SYSROOT_SPEC "%{isysroot*:-syslibroot %*}" -#endif +#define LINK_SYSROOT_SPEC "" /* Please keep the random linker options in alphabetical order (modulo 'Z' and 'no' prefixes). Options that can only go to one of libtool