Revise Darwin's sysroot handling to be compatible with the clang toolchain.
authorIain Sandoe <iain@codesourcery.com>
Sun, 18 Oct 2015 18:33:05 +0000 (18:33 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 18 Oct 2015 18:33:05 +0000 (18:33 +0000)
commitd42becb9d876f54d0ee0b6c7a5ebfd30851b4e1d
tree7a73e28177897d9907ea52bdbac98f4ca57fd775
parent49489608c05a33a41bd1f2b5d277819a70f45807
Revise Darwin's sysroot handling to be compatible with the clang toolchain.

gcc/
* config/darwin.h (TARGET_SYSTEM_ROOT): Remove this from here,
(HAVE_LD_SYSROOT): New.  (SYSROOT_SPEC): New.
(LINK_SYSROOT_SPEC): Revise to remove the default for target sysroot.
(STANDARD_STARTFILE_PREFIX_1): New.
(STANDARD_STARTFILE_PREFIX_2): New.

From-SVN: r228950
gcc/ChangeLog
gcc/config/darwin.h