r275350 - in /branches/gcc-7-branch/gcc: Change...
iains@gcc.gnu.org
iains@gcc.gnu.org
Tue Sep 3 19:18:00 GMT 2019
Author: iains
Date: Tue Sep 3 19:18:30 2019
New Revision: 275350
URL: https://gcc.gnu.org/viewcvs?rev=275350&root=gcc&view=rev
Log:
[Darwin, Objective-C] Don't prepend a sysroot for the gnu-objc headers.
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 was 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.
2019-09-03 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-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/darwin-c.c
More information about the Gcc-cvs
mailing list