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]

Re: [patch] fix passing -iplugindir


On 05.06.2010 14:11, Joseph S. Myers wrote:
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 "**".

commited with these changes, and made the same changes in find_file_spec_function.


Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]