diff options
author | fergushenderson <9819290+fergushenderson@users.noreply.github.com> | 2022-06-17 16:56:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 16:56:25 +0100 |
commit | 6ffece0f9cfe89e89d47744d461d7b8f9bdbf38e (patch) | |
tree | c637fc156c731b54c826b3910cc7ec1fea58cffb | |
parent | 298bdcf5e4ae296a74e9c653205eb5f8148e6d33 (diff) | |
parent | 6dc7e3edc41b0ed5b88020b555c91d861eef956b (diff) | |
download | distcc-git-6ffece0f9cfe89e89d47744d461d7b8f9bdbf38e.tar.gz |
Merge pull request #466 from mathcounts4/Xpreprocessor
Discard -Xpreprocessor and following argument for remote compilation,…
-rw-r--r-- | src/strip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strip.c b/src/strip.c index 1d6a591..4a1af52 100644 --- a/src/strip.c +++ b/src/strip.c @@ -93,7 +93,8 @@ int dcc_strip_local_args(char **from, char ***out_argv) || str_equal("-iwithprefix", from[from_i]) || str_equal("-isystem", from[from_i]) || str_equal("-iwithprefixbefore", from[from_i]) - || str_equal("-idirafter", from[from_i])) { + || str_equal("-idirafter", from[from_i]) + || str_equal("-Xpreprocessor", from[from_i])) { /* skip next word, being option argument */ if (from[from_i+1]) from_i++; |