diff options
author | Mattiwatti <mattiwatti@gmail.com> | 2019-12-04 08:07:26 +0100 |
---|---|---|
committer | Mattiwatti <mattiwatti@gmail.com> | 2019-12-04 08:07:26 +0100 |
commit | 00159446daf90997b1c9c73eb0e2508339d929c9 (patch) | |
tree | a4d1861064ef46a3470ba0ad5fe3b94f36308a8d /EfiGuardPkg.dsc | |
parent | 9e42f8df7818a1bf4eb675bfcd2fe5974d2d5e1f (diff) |
Compile as UTF-8
Diffstat (limited to 'EfiGuardPkg.dsc')
-rw-r--r-- | EfiGuardPkg.dsc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/EfiGuardPkg.dsc b/EfiGuardPkg.dsc index 1b50ced..86825a9 100644 --- a/EfiGuardPkg.dsc +++ b/EfiGuardPkg.dsc @@ -82,6 +82,11 @@ *_*_*_CC_FLAGS = -D CONFIGURE_DRIVER=1 !endif + # Source files are UTF-8 without BOM. MSVC will convert other encodings to this without asking, so this is not really a choice + MSFT:*_*_*_CC_FLAGS = /utf-8 + INTEL:*_*_*_CC_FLAGS = /utf-8 + GCC:*_*_*_CC_FLAGS = -finput-charset=UTF-8 + # ICC generates about a million of these for Zydis on /W4, and then quits because of /WX. # warning #188: enumerated type mixed with another type # message #2415: variable "x" of static storage duration was declared but never referenced |