We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b5e42 commit dd69686Copy full SHA for dd69686
src/toolchain.rs
@@ -86,6 +86,8 @@ pub fn cflags(args: &Args) -> OsString {
86
// https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_guest_bin/build.rs#L80
87
"--target=x86_64-unknown-linux-none",
88
"-U__linux__",
89
+ // Our rust target also has this set since it based off "x86_64-unknown-none"
90
+ "-fPIC",
91
// We don't support stack protectors at the moment, but Arch Linux clang
92
// auto-enables them for -linux platforms, so explicitly disable them.
93
"-fno-stack-protector",
0 commit comments