rustc: Don't hardcode -lm

It does not appear to serve a purpose
This commit is contained in:
Brian Anderson 2012-04-13 21:28:19 -07:00
parent 247db704a9
commit 979a225598

View File

@ -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