aboutsummaryrefslogtreecommitdiff
path: root/EfiGuardPkg.dsc
diff options
context:
space:
mode:
Diffstat (limited to 'EfiGuardPkg.dsc')
-rw-r--r--EfiGuardPkg.dsc5
1 files changed, 5 insertions, 0 deletions
diff --git a/EfiGuardPkg.dsc b/EfiGuardPkg.dsc
index 16efb80..cd28911 100644
--- a/EfiGuardPkg.dsc
+++ b/EfiGuardPkg.dsc
@@ -104,6 +104,11 @@
INTEL:*_*_*_CC_FLAGS = /utf-8
GCC:*_*_*_CC_FLAGS = -finput-charset=UTF-8
+ # https://github.com/Mattiwatti/EfiGuard/issues/134
+ # https://github.com/tianocore/edk2/issues/10547
+ MSFT:*_*_*_CC_FLAGS = /GS-
+ GCC:*_*_*_CC_FLAGS = -fno-stack-protector
+
# Pre-emptive strike for when this horrible option inevitably becomes the default
MSFT:*_*_*_CC_FLAGS = /Qspectre-