Use build script to imply openlibm

This commit is contained in:
Jeremy Soller 2016-12-20 17:53:16 -07:00
parent 83c795c588
commit 36f9f625c9
3 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,7 @@
name = "redox_std" name = "redox_std"
version = "0.1.0" version = "0.1.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"] authors = ["Jeremy Soller <jackpot51@gmail.com>"]
build = "../rust/src/libstd/build.rs"
[lib] [lib]
name = "std" name = "std"
@ -14,3 +15,7 @@ panic_abort = { path = "panic_abort" }
#panic_unwind = { path = "panic_unwind" } #panic_unwind = { path = "panic_unwind" }
libc = { path = "libc" } libc = { path = "libc" }
unwind = { path = "unwind" } unwind = { path = "unwind" }
[build-dependencies]
build_helper = { path = "../rust/src/build_helper" }
gcc = "0.3.27"

2
rust

@ -1 +1 @@
Subproject commit 65eecf8bb311efe4174cb7a90271344b72371884 Subproject commit fd4bc88880bd7aeb2a1a5cb56fbfea639bc6f2e7

View file

@ -9,7 +9,6 @@
"vendor": "unknown", "vendor": "unknown",
"target-family": "redox", "target-family": "redox",
"pre-link-args": ["-m64", "-nostdlib", "-static"], "pre-link-args": ["-m64", "-nostdlib", "-static"],
"post-link-args": ["build/userspace/libopenlibm.a"],
"features": "", "features": "",
"dynamic-linking": false, "dynamic-linking": false,
"executables": true, "executables": true,