diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-05-18 08:44:18 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-05-18 08:44:18 +0000 |
commit | 7792cf668e8efe4d158172f80b6c217fc64d9ddc (patch) | |
tree | e286cc46662ddfdceb4fbbb5c80fbdb3f3074137 /gcc/fortran/trans-array.c | |
parent | 5219955ccd44eaca6fd12b39acafc24c04602e97 (diff) | |
download | gcc-7792cf668e8efe4d158172f80b6c217fc64d9ddc.zip gcc-7792cf668e8efe4d158172f80b6c217fc64d9ddc.tar.gz gcc-7792cf668e8efe4d158172f80b6c217fc64d9ddc.tar.bz2 |
Darwin, objective-c - register gnu-runtime headers correctly.
Darwin is able to use two runtimes for objective-c; the
default is its native "NeXT" runtime, but also it can build
code using the "gnu-runtime". In order to do this, we have to
be able to find the gnu-runtime headers (which are installed
into the compiler's tree).
The process to do this is erroneously prepending the sysroot
to this when a sysroot is in force. The gnu-runtime headers have
never been installed in a Darwin (macOS) SDK so we must make
sure that they are found local to the compiler.
gcc/
2019-05-18 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin-c.c (darwin_register_objc_includes): Do not
prepend the sysroot when building gnu-runtime header search
paths.
From-SVN: r271371
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions