Add openlibm to redox

This commit is contained in:
Jeremy Soller 2016-12-15 15:30:50 -07:00
parent 773a0a2edb
commit 07e313de2c

View file

@ -33,6 +33,10 @@ pub fn opts() -> TargetOptions {
// Static link
"-static".to_string()
],
late_link_args: vec![
// Link to openlibm for math functions
"-lopenlibm".to_string()
],
executables: true,
relocation_model: "static".to_string(),
disable_redzone: true,