From adadf56e2bffbb288b025437e80ea13a2b106621 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 4 Dec 2023 19:09:50 +0800 Subject: [PATCH] nac3standalone: generate PIC --- nac3standalone/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nac3standalone/src/main.rs b/nac3standalone/src/main.rs index bfa0a51..f2387fe 100644 --- a/nac3standalone/src/main.rs +++ b/nac3standalone/src/main.rs @@ -321,6 +321,7 @@ fn main() { triple, cpu: mcpu, features: target_features, + reloc_mode: RelocMode::PIC, ..host_target_machine }, };