Add openlibm to redox
This commit is contained in:
parent
773a0a2edb
commit
07e313de2c
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue