Skip to content

Commit c6ccb74

Browse files
authored
Merge pull request #331 from JuliaPackaging/gb/sjlj-win32
2 parents 65d6001 + a4880a4 commit c6ccb74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Runner.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,9 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
433433
"-isystem /opt/$(aatriplet(p))/$(aatriplet(p))/include",
434434
"-isystem /opt/$(aatriplet(p))/$(aatriplet(p))/sys-root/include"])
435435
end
436-
436+
if Sys.iswindows(p) && nbits(p) == 32
437+
push!(flags, "-fsjlj-exceptions")
438+
end
437439
return flags
438440
end
439441

0 commit comments

Comments
 (0)