Commit 57cf5eab authored by Jeremy Soller's avatar Jeremy Soller

Add gcc link when using crt-static

parent 427644ea
......@@ -31,6 +31,7 @@ cfg_if! {
extern {}
#[cfg(target_os = "redox")]
#[link(name = "gcc", kind = "static-nobundle", cfg(target_feature = "crt-static"))]
#[link(name = "gcc_eh", kind = "static-nobundle", cfg(target_feature = "crt-static"))]
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
extern {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment