This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix passing -iplugindir
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 5 Jun 2010 12:11:20 +0000 (UTC)
- Subject: Re: [patch] fix passing -iplugindir
- References: <4C050F9E.6080103@ubuntu.com>
On Tue, 1 Jun 2010, Matthias Klose wrote:
> 2010-06-01 Matthias Klose <doko@ubuntu.com>
>
> * gcc.c (cc1_options, cpp_unique_options): Use find-plugindir spec
> function to add the -iplugindir option.
> (find_plugindir_spec_function): Add new declaration and function.
> (static_spec_func): Use it for "find-plugindir".
OK changed as noted:
> +/* %:find-plugindir spec function. This function replace its argument
"replaces".
> + by the -iplugindir=<dir> option. `dir' is found thru find_file, that
> + is the -print-file-name gcc program option. */
> +static const char *
> +find_plugindir_spec_function (int argc, const char**argv ATTRIBUTE_UNUSED)
Space before "**".
--
Joseph S. Myers
joseph@codesourcery.com