]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools VS Makefile: Use /MT in replace of /MD to remove specific dll
authorLiming Gao <liming.gao@intel.com>
Fri, 21 Oct 2016 05:25:19 +0000 (13:25 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 21 Oct 2016 08:40:49 +0000 (16:40 +0800)
/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>
BaseTools/Source/C/Makefiles/ms.common

index 5c3991de92961e37737d898a018011deef5b81e2..69735e69f3b6884ed1ef5dc025d520a3c8763428 100644 (file)
@@ -61,6 +61,6 @@ LINKER = $(LD)
 \r
 INC = -I . -I $(SOURCE_PATH)\Include -I $(ARCH_INCLUDE) -I $(SOURCE_PATH)\Common $(INC)\r
 \r
-CFLAGS = $(CFLAGS) /nologo /Zi /c /O2 /MD /W4 /WX /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE \r
-CPPFLAGS = $(CPPFLAGS) /EHsc /nologo /Zi /c /O2 /MD /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE \r
+CFLAGS = $(CFLAGS) /nologo /Zi /c /O2 /MT /W4 /WX /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE \r
+CPPFLAGS = $(CPPFLAGS) /EHsc /nologo /Zi /c /O2 /MT /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE \r
 \r