Skip to content

Commit

Permalink
Base.julia_cmd(): correctly forward the --sysimage-native-code=no
Browse files Browse the repository at this point in the history
… flag if it is provided (JuliaLang#42185)
  • Loading branch information
DilumAluthge authored and LilithHafner committed Feb 22, 2022
1 parent 5f9dffe commit 52100fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ function julia_cmd(julia=joinpath(Sys.BINDIR::String, julia_exename()))
if opts.startupfile == 2
push!(addflags, "--startup-file=no")
end
if opts.use_sysimage_native_code == 0
push!(addflags, "--sysimage-native-code=no")
end
return `$julia -C$cpu_target -J$image_file $addflags`
end

Expand Down

0 comments on commit 52100fb

Please sign in to comment.