diff options
author | Clément Chigot <chigot@adacore.com> | 2022-06-16 13:43:26 +0200 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2022-06-28 16:53:23 +0200 |
commit | fadaf8f7f99f8fe81aa8403c5d90c95cae5bd2ec (patch) | |
tree | 4b038d634af1070ec944354a2979b8cab0622bb1 /bfd/bfdio.c | |
parent | dbcbf67ca565ec29f13a2302dcdf9b01ef7832ca (diff) | |
download | gdb-fadaf8f7f99f8fe81aa8403c5d90c95cae5bd2ec.zip gdb-fadaf8f7f99f8fe81aa8403c5d90c95cae5bd2ec.tar.gz gdb-fadaf8f7f99f8fe81aa8403c5d90c95cae5bd2ec.tar.bz2 |
windres: add quotes around preprocessor cmd if needed
This patch ensures that the gcc binary called by windres is quoted if
needed. Otherwise, errors can occur if the gcc is under a folder having
a name containing a space (eg "Program Files").
binutils/
* resrc.c (DEFAULT_PREPROCESSOR): Split into...
(DEFAULT_PREPROCESSOR_CMD): that...
(DEFAULT_PREPROCESSOR_ARGS): and that.
(look_for_default): Add quotes around the command if needed.
(read_rc_file): Adapt to new defines.
Diffstat (limited to 'bfd/bfdio.c')
0 files changed, 0 insertions, 0 deletions