Fix broken MSC exception handling flag
This commit is contained in:
parent
32d082a7e2
commit
acbec658ad
@ -26,7 +26,7 @@
|
||||
|
||||
msc.cflags = {
|
||||
flags = {
|
||||
SEH = "/EHa /EHsc",
|
||||
SEH = "/EHa",
|
||||
Symbols = "/Z7",
|
||||
},
|
||||
optimize = {
|
||||
@ -44,6 +44,10 @@
|
||||
end
|
||||
table.insert(flags, runtime)
|
||||
|
||||
if not cfg.flags.SEH then
|
||||
table.insert(flags, "/EHsc")
|
||||
end
|
||||
|
||||
return flags
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user