diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-07-01 19:25:51 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-07-01 19:37:51 +0300 |
commit | 9c671ae3e3a8821f80ed2ee363b8cfb12f36ed8a (patch) | |
tree | cced2462fd03f9a786e80009635fa489187ab887 /build | |
parent | 75d5088a0f181443ecd88cf191d8dc7d4fb01358 (diff) | |
download | ydb-9c671ae3e3a8821f80ed2ee363b8cfb12f36ed8a.tar.gz |
Drop unused DLL_RUNTIME support on Windows
We link C library statically whenever possible.
The flag is currently unused see [this codesearch query](https://a.yandex-team.ru/search?search=%255CbDLL_RUNTIME%255Cb%2C%2C%2Carcadia%2C%2C200).
5d6c96de31fce223e268f32ea1f2513a6aa682eb
Diffstat (limited to 'build')
-rw-r--r-- | build/conf/compilers/msvc_compiler.conf | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/build/conf/compilers/msvc_compiler.conf b/build/conf/compilers/msvc_compiler.conf index 8d4e06051b..0f3f0484e0 100644 --- a/build/conf/compilers/msvc_compiler.conf +++ b/build/conf/compilers/msvc_compiler.conf @@ -28,17 +28,10 @@ when ($IDE_MSVS == "yes") { DEBUG_INFO_FLAGS=/Zi /FS } +# For the flags regarding runtime library selection, see # https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx -when ($DLL_RUNTIME == "yes") { - _FLAGS_DEBUG_RUNTIME=/MDd - _FLAGS_RELEASE_RUNTIME=/MD -} -otherwise { - _FLAGS_DEBUG_RUNTIME=/MTd - _FLAGS_RELEASE_RUNTIME=/MT -} -CFLAGS_DEBUG = /Od /Ob0 /Oi /D_DEBUG $_FLAGS_DEBUG_RUNTIME -CFLAGS_RELEASE = /O2 /Ob2 /Oi /DNDEBUG $_FLAGS_RELEASE_RUNTIME +CFLAGS_DEBUG = /Od /Ob0 /Oi /D_DEBUG /MTd +CFLAGS_RELEASE = /O2 /Ob2 /Oi /DNDEBUG /MT MASMFLAGS= _MASM_IO=/nologo /c /Fo${output;suf=${OBJECT_SUF}:SRC} ${input:SRC} |