diff --git a/base/util.jl b/base/util.jl index f9f0a02376faf..7e11521e61591 100644 --- a/base/util.jl +++ b/base/util.jl @@ -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