more C build flags

avec
Avril 4 years ago
parent 1c8795d93d
commit c1aea27653
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -14,6 +14,10 @@ fn build_tramp()
.flag("-pedantic") .flag("-pedantic")
.opt_level(3) .opt_level(3)
.flag_if_supported("-flto") .flag_if_supported("-flto")
// Not sure if we want these two. We can check the codegen later
.pic(false)
.use_plt(false)
.file("alloca_trampoline_.c") .file("alloca_trampoline_.c")
.compile("calloca_trampoline"); .compile("calloca_trampoline");

Loading…
Cancel
Save