This reverts commit efc5756e3fac9ed3b82e6d82b770b578b47b42d0.
This commit is contained in:
parent
efc5756e3f
commit
66127d8492
@ -326,8 +326,6 @@ impl CompilerWrapper for ClangWrapper {
|
|||||||
args.push("-flegacy-pass-manager".into());
|
args.push("-flegacy-pass-manager".into());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !self.linking {
|
|
||||||
for pass in &self.passes {
|
for pass in &self.passes {
|
||||||
use_pass = true;
|
use_pass = true;
|
||||||
if self.use_new_pm {
|
if self.use_new_pm {
|
||||||
@ -356,8 +354,6 @@ impl CompilerWrapper for ClangWrapper {
|
|||||||
args.push(passes_arg.into());
|
args.push(passes_arg.into());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if self.linking {
|
if self.linking {
|
||||||
if self.x_set {
|
if self.x_set {
|
||||||
args.push("-x".into());
|
args.push("-x".into());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user