mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
disable -fPIE on windows
This commit is contained in:
parent
5e10dddd6f
commit
b23b53aa6f
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ pub fn build_zig_host_native(
|
||||||
if let Some(shared_lib_path) = shared_lib_path {
|
if let Some(shared_lib_path) = shared_lib_path {
|
||||||
command.args(&[
|
command.args(&[
|
||||||
"build-exe",
|
"build-exe",
|
||||||
"-fPIE",
|
// "-fPIE", PIE seems to fail on windows
|
||||||
shared_lib_path.to_str().unwrap(),
|
shared_lib_path.to_str().unwrap(),
|
||||||
&bitcode::get_builtins_windows_obj_path(),
|
&bitcode::get_builtins_windows_obj_path(),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue