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]

[patch] fix passing -iplugindir


The spec -iplugindir=%:find-file(plugin) spec isn't handled correctly, `%:' only seems to be handled at the beginning of a spec. The effect is that "-iplugindir=plugin" is passed to the find_file_spec_function, which cannot be found by find_file. end_going_arg is called twice (from do_spec_2, and from do_spec_1, because processing_spec_function is set).

The fix is to provide a new spec function find-plugindir, which can be used at the start of the spec.

Matthias

Attachment: plugindir.diff
Description: Text document


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