disable -fPIE on windows

This commit is contained in:
Folkert 2022-10-18 18:45:38 +02:00
parent 5e10dddd6f
commit b23b53aa6f
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -201,7 +201,7 @@ pub fn build_zig_host_native(
if let Some(shared_lib_path) = shared_lib_path {
command.args(&[
"build-exe",
"-fPIE",
// "-fPIE", PIE seems to fail on windows
shared_lib_path.to_str().unwrap(),
&bitcode::get_builtins_windows_obj_path(),
]);