diff options
author | Liming Gao <liming.gao@intel.com> | 2016-10-21 13:25:19 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-10-21 16:40:49 +0800 |
commit | c4260115f0fcf23d538dc0ac90443ee954c30c6d (patch) | |
tree | e07f4bdc44c52287694783a4a95f0b6cd8bc2b83 /BaseTools | |
parent | 041e842ab7b3c163564ab7545e6de445ae0a2e09 (diff) | |
download | edk2-c4260115f0fcf23d538dc0ac90443ee954c30c6d.tar.gz edk2-c4260115f0fcf23d538dc0ac90443ee954c30c6d.tar.bz2 edk2-c4260115f0fcf23d538dc0ac90443ee954c30c6d.zip |
BaseTools VS Makefile: Use /MT in replace of /MD to remove specific dll
/MD option will introduce the specific version dll dependency. It will cause
the compiled C tools not work on some system.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/C/Makefiles/ms.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/Makefiles/ms.common b/BaseTools/Source/C/Makefiles/ms.common index 5c3991de92..69735e69f3 100644 --- a/BaseTools/Source/C/Makefiles/ms.common +++ b/BaseTools/Source/C/Makefiles/ms.common @@ -61,6 +61,6 @@ LINKER = $(LD) INC = -I . -I $(SOURCE_PATH)\Include -I $(ARCH_INCLUDE) -I $(SOURCE_PATH)\Common $(INC)
-CFLAGS = $(CFLAGS) /nologo /Zi /c /O2 /MD /W4 /WX /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
-CPPFLAGS = $(CPPFLAGS) /EHsc /nologo /Zi /c /O2 /MD /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
+CFLAGS = $(CFLAGS) /nologo /Zi /c /O2 /MT /W4 /WX /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
+CPPFLAGS = $(CPPFLAGS) /EHsc /nologo /Zi /c /O2 /MT /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
|