]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin.h (GCC_DRIVER_HOST_INITIALIZATION): Only expose when not building for target.
authorIain Sandoe <iains@gcc.gnu.org>
Sat, 18 Dec 2010 09:14:05 +0000 (09:14 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 18 Dec 2010 09:14:05 +0000 (09:14 +0000)
gcc:

* config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION):
Only expose when not building for target.

From-SVN: r168017

gcc/ChangeLog
gcc/config/darwin.h

index 94dafa705666e5a9b85c5af604aa0dd54e34f156..96374062fdc8e65433fcf9613ea1dc862d1f11e0 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-18  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION):
+       Only expose when not building for target.
+
 2010-12-17  Joseph Myers  <joseph@codesourcery.com>
 
        * config/netbsd.opt, config/netbsd-elf.opt: New files.
index ba617401ff37c515eaab0344806c95620a436df0..a2694b873ae2d56cb1ce39af218e61880e5a3352 100644 (file)
@@ -963,10 +963,11 @@ __enable_execute_stack (void *addr)                                     \
 
 #define TARGET_HAS_TARGETCM 1
 
-extern void darwin_driver_init (unsigned int *decoded_options_count,
-                               struct cl_decoded_option **decoded_options);
+#ifndef USED_FOR_TARGET
+extern void darwin_driver_init (unsigned int *,struct cl_decoded_option **);
 #define GCC_DRIVER_HOST_INITIALIZATION \
   darwin_driver_init (&decoded_options_count, &decoded_options)
+#endif
 
 /* The Apple assembler and linker do not support constructor priorities.  */
 #undef SUPPORTS_INIT_PRIORITY