From d15057ca6b89d8a6ee4e251ce7b504196fc7d6db Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 30 Oct 2020 14:57:53 -0700 Subject: [PATCH] Disable safeseh for Win32 ld-link --- IDE/src/BuildContext.bf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IDE/src/BuildContext.bf b/IDE/src/BuildContext.bf index b53b73f6..b1e199cc 100644 --- a/IDE/src/BuildContext.bf +++ b/IDE/src/BuildContext.bf @@ -1093,6 +1093,9 @@ namespace IDE ltoPath.Append("/ltocache"); IDEUtils.AppendWithOptionalQuotes(linkLine, ltoPath); } + + if ((mPlatformType == .Windows) && (!is64Bit)) + linkLine.Append(" /safeseh:no"); } if (options.mBuildOptions.mBeefLibType != .DynamicDebug) @@ -1300,7 +1303,7 @@ namespace IDE if (filePath.Contains("test2.cpp")) { - NOP!(); +\ NOP!(); } bool needsRebuild = true;