Skip to content

Commit cb1d64c

Browse files
ven-kvchuravy
authored andcommitted
fix: return true while either generating the output "or" using pkgimages
1 parent cdc37ce commit cb1d64c

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)