mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdePkg: Fix build error after enable FDT support.
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4786 Disable some compiling warnings caused by submodule code. Those can be removed later once issues fixed by submodule owner. Signed-off-by: Linus Liu <linus.liu@intel.com>
This commit is contained in:
parent
90d0ec17e7
commit
c3997e329a
@ -57,6 +57,9 @@
|
||||
BaseMemoryLib
|
||||
|
||||
[BuildOptions]
|
||||
MSFT:*_*_IA32_CC_FLAGS = /wd4146 /wd4245
|
||||
MSFT:*_*_X64_CC_FLAGS = /wd4146 /wd4244 /wd4245 /wd4267
|
||||
# warning C4706: assignment within conditional expression
|
||||
# if ((err = fdt_splice_(fdt, p, oldlen, newlen)))
|
||||
# in BaseFdtLib\libfdt\libfdt\fdt_rw.c (wait for sub module update to remove this)
|
||||
MSFT:*_*_IA32_CC_FLAGS = /wd4146 /wd4245 /wd4706
|
||||
MSFT:*_*_X64_CC_FLAGS = /wd4146 /wd4244 /wd4245 /wd4267 /wd4706
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user