summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Landden <shawn@git.icu>2021-07-16 17:25:47 +0400
committerGitHub <noreply@github.com>2021-07-16 17:25:47 +0400
commitb94b751aef444e0e9e5224730891650d03d12a4d (patch)
treecbdf8c1fef21de4a423adc61a8f54a36af0d228f
parent21da64e45db5d229dbb02533274bef84702d65a1 (diff)
parent47a19b96561f42dc216a30fdb4b9e21b89d04278 (diff)
downloaddistcc-git-b94b751aef444e0e9e5224730891650d03d12a4d.tar.gz
Merge pull request #429 from asheplyakov/distribute-lto-again
Revert "Skip distributing LTO cc invocations"
-rw-r--r--src/arg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arg.c b/src/arg.c
index 73ff707..6ca5130 100644
--- a/src/arg.c
+++ b/src/arg.c
@@ -189,9 +189,6 @@ int dcc_scan_args(char *argv[], char **input_file, char **output_file,
rs_trace("-mtune=native optimizes for local machine; "
"must be local");
return EXIT_DISTCC_FAILED;
- } else if (!strcmp(a, "-flto")) {
- rs_trace("LTO cc invocations are not worth distributing");
- return EXIT_DISTCC_FAILED;
} else if (str_startswith("-Wa,", a)) {
/* Look for assembler options that would produce output
* files and must be local.