Skip to content

Commit 54d8085

Browse files
committed
fix: return true while either generating the output "or" using pkgimages
1 parent 6905c8e commit 54d8085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jitlayers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ GlobalVariable *jl_emit_RTLD_DEFAULT_var(Module *M) JL_NOTSAFEPOINT;
7373
DataLayout jl_create_datalayout(TargetMachine &TM) JL_NOTSAFEPOINT;
7474

7575
static inline bool imaging_default() JL_NOTSAFEPOINT {
76-
return jl_options.image_codegen || (jl_generating_output() && jl_options.use_pkgimages);
76+
return jl_options.image_codegen || jl_generating_output() || jl_options.use_pkgimages;
7777
}
7878

7979
struct OptimizationOptions {

0 commit comments

Comments
 (0)