From c1aea276530348569fd776525403af1e5467a28d Mon Sep 17 00:00:00 2001 From: Avril Date: Wed, 24 Mar 2021 18:33:07 +0000 Subject: [PATCH] more C build flags --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.rs b/build.rs index 5f72cca..d47230c 100644 --- a/build.rs +++ b/build.rs @@ -14,6 +14,10 @@ fn build_tramp() .flag("-pedantic") .opt_level(3) .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") .compile("calloca_trampoline");