diff options
author | fergus.henderson <fergushenderson@users.noreply.github.com> | 2011-11-01 05:46:37 +0000 |
---|---|---|
committer | Shawn Landden <slandden@gmail.com> | 2018-02-25 22:19:27 -0800 |
commit | 7f3e39007d816258c4fce935c7fbc6a7be5e25a0 (patch) | |
tree | d44e414e8390c73a07385b709639baf4c6e437d3 | |
parent | 1dc8c00b7494f33ffdf5f3e8548cc5c491d847fc (diff) | |
download | distcc-git-7f3e39007d816258c4fce935c7fbc6a7be5e25a0.tar.gz |
Apply patch from Jiri Palecek to fix issue 83v3.2rc1.1
<http://code.google.com/p/distcc/issues/detail?id=83>:
fix bug in handling of several consecutive -Wp,... options.
-rw-r--r-- | src/arg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -515,6 +515,8 @@ int dcc_expand_preprocessor_options(char ***argv_ptr) { } free(argv); *argv_ptr = argv = new_argv; + i += extra_args - 1; + argc += extra_args - 1; } } return 0; |