Fix broken MSC exception handling flag

This commit is contained in:
Jason Perkins 2013-09-30 12:20:53 -04:00
parent 32d082a7e2
commit acbec658ad

View File

@ -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