r274015 - in /branches/gcc-9-branch/gcc: Change...
iains@gcc.gnu.org
iains@gcc.gnu.org
Fri Aug 2 14:34:00 GMT 2019
Author: iains
Date: Fri Aug 2 14:34:02 2019
New Revision: 274015
URL: https://gcc.gnu.org/viewcvs?rev=274015&root=gcc&view=rev
Log:
darwin, objc, backport fix for objc header paths
Don't try to prepend a sysroot for the gnu-objc headers, which
are compiler-relative.
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-08-02 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline
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.
Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/config/darwin-c.c
More information about the Gcc-cvs
mailing list