This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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 "**".
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |