Restore old behaviour of windres so that options containing spaces are not enclosed in double quotes.

PR 4356
	PR 26865
	PR 27594
	* windres.c (quot): Revert previous delta.  Do not use double
	quotes when spaces are detected in options.
	* doc/binutils.texi (windres): Remove suggestion that the
	--preprocessor option can take arguments.
This commit is contained in:
Thomas Wolff
2021-05-10 11:28:15 +01:00
committed by Nick Clifton
parent 802021d46d
commit 749c700282
3 changed files with 14 additions and 29 deletions

View File

@@ -4278,8 +4278,7 @@ format, which is the first one listed by the @option{--help} option.
@item --preprocessor @var{program}
When @command{windres} reads an @code{rc} file, it runs it through the C
preprocessor first. This option may be used to specify the preprocessor
to use, including any leading arguments. The default preprocessor
argument is @code{gcc}.
to use. The default preprocessor is @code{gcc}.
@item --preprocessor-arg @var{option}
When @command{windres} reads an @code{rc} file, it runs it through
@@ -4290,8 +4289,8 @@ preprocessor command line.
If the @option{--preprocessor} option has not been specified then a
default set of preprocessor arguments will be used, with any
@option{--preprocessor-arg} options being placed after them on the
command line. These default arguments are @code{-E -xc-header
-DRC_INVOKED}.
command line. These default arguments are @code{-E},
@code{-xc-header} and @code{-DRC_INVOKED}.
@item -I @var{directory}
@itemx --include-dir @var{directory}