This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Objective-C PCH broken on non-darwinn hosted darwinn targets
- From: mrs at apple dot com (Mike Stump)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Mar 2007 18:02:56 -0700 (PDT)
- Subject: Objective-C PCH broken on non-darwinn hosted darwinn targets
This fixes Objective-C PCH on non-darwin hosted darwin targets.
2007-03-26 Mike Stump <mrs@apple.com>
* config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Add
objective-c-header, objective-c++-header and objc++-cpp-output
support.
* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Likewise.
Doing diffs in .:
--- ./config/i386/darwin.h.~1~ 2007-03-12 19:02:53.000000000 -0700
+++ ./config/i386/darwin.h 2007-03-26 17:17:48.000000000 -0700
@@ -87,7 +87,9 @@ Boston, MA 02110-1301, USA. */
#define DARWIN_MINVERSION_SPEC \
"%{!m64|fgnu-runtime:10.4; \
,objective-c|,objc-cpp-output:10.5; \
+ ,objective-c-header:10.5; \
,objective-c++|,objective-c++-cpp-output:10.5; \
+ ,objective-c++-header|,objc++-cpp-output:10.5; \
:10.4}"
#undef SUBTARGET_EXTRA_SPECS
--- ./config/rs6000/darwin.h.~1~ 2007-03-20 19:06:59.000000000 -0700
+++ ./config/rs6000/darwin.h 2007-03-26 17:14:59.000000000 -0700
@@ -125,7 +125,9 @@
#define DARWIN_MINVERSION_SPEC \
"%{m64:%{fgnu-runtime:10.4; \
,objective-c|,objc-cpp-output:10.5; \
+ ,objective-c-header:10.5; \
,objective-c++|,objective-c++-cpp-output:10.5; \
+ ,objective-c++-header|,objc++-cpp-output:10.5; \
:10.4}; \
shared-libgcc:10.3; \
:10.1}"
--------------