rustc: Don't hardcode -lm
It does not appear to serve a purpose
This commit is contained in:
parent
247db704a9
commit
979a225598
@ -608,9 +608,6 @@ fn link_binary(sess: session,
|
||||
cc_args += ["-Wl,-install_name,@rpath/"
|
||||
+ path::basename(output)];
|
||||
}
|
||||
} else {
|
||||
// FIXME: why do we hardcode -lm?
|
||||
cc_args += ["-lm"];
|
||||
}
|
||||
|
||||
// Always want the runtime linked in
|
||||
|
Loading…
Reference in New Issue
Block a user