Skip to content

Commit 901c62f

Browse files
DilumAluthgeKristofferC
authored andcommitted
Base.julia_cmd(): correctly forward the --sysimage-native-code=no flag if it is provided (#42185)
(cherry picked from commit f6b38a6)
1 parent efb8d9e commit 901c62f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/util.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ function julia_cmd(julia=joinpath(Sys.BINDIR::String, julia_exename()))
187187
if opts.startupfile == 2
188188
push!(addflags, "--startup-file=no")
189189
end
190+
if opts.use_sysimage_native_code == 0
191+
push!(addflags, "--sysimage-native-code=no")
192+
end
190193
return `$julia -C$cpu_target -J$image_file $addflags`
191194
end
192195

0 commit comments

Comments
 (0)