From e7bb2bd3bd881861389233f70a36d9be8dc7d663 Mon Sep 17 00:00:00 2001 From: jief666 Date: Fri, 16 Apr 2021 00:16:41 +0300 Subject: [PATCH] Test to see if it could be a compiler bug. --- rEFIt_UEFI/Platform/Settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index fc28f33e4..47928109c 100755 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -2,6 +2,10 @@ Slice 2012 */ +#if defined(__clang__) +#pragma clang optimize off +#endif + #include #include "Settings.h" #include "FixBiosDsdt.h"