Skip to content

Commit 6e7fdc9

Browse files
committed
Remove unused and broken MSVC_CFLAGS macro
commit_hash:77052d9e455cd78788a38bf0a6361fbc9cef8b14
1 parent 2613a93 commit 6e7fdc9

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

build/ymake.core.conf

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3994,7 +3994,7 @@ macro LDFLAGS(Flags...) {
39943994
###
39953995
### Add the specified flags to the compilation command of C and C++ files.
39963996
### @params: GLOBAL - Propagates these flags to dependent projects
3997-
### Note: remember about the incompatibility flags for clang and cl (to set flags specifically for cl.exe use MSVC_FLAGS).
3997+
### Bear in mind that certain flags might be incompatible with certain compilers.
39983998
macro CFLAGS(Flags...) {
39993999
SET_APPEND_WITH_GLOBAL(USER_CFLAGS $Flags)
40004000
}
@@ -5806,23 +5806,6 @@ when ($WITH_CREDITS) {
58065806
GENERATE_MF=$GENERATE_MF_CMD
58075807
}
58085808

5809-
# tag:flags tag:internal tag:windows-specific
5810-
### @usage: _MSVC_FLAGS_WINDOWS_IMPL(target_platform compiler_flags) # internal
5811-
###
5812-
### Add CFLAGS when the firts argument is WINDOWS
5813-
macro _MSVC_FLAGS_WINDOWS_IMPL(WINDOWS[], FLAGS...) {
5814-
CFLAGS($WINDOWS)
5815-
}
5816-
5817-
# tag:flags tag:windows-specific tag:cpp-specific
5818-
### @usage: MSVC_FLAGS([GLOBAL compiler_flag]* compiler_flags)
5819-
###
5820-
### Add the specified flags to the compilation line of C/C++files.
5821-
### Flags apply only if the compiler used is MSVC (cl.exe)
5822-
macro MSVC_FLAGS(FLAGS...) {
5823-
_MSVC_FLAGS_WINDOWS_IMPL($TARGET_PLATFORM $FLAGS)
5824-
}
5825-
58265809
# tag:internal
58275810
### Add passed ya.conf.json and all bottle's formula external files to resources
58285811
### File MUST be arcadia root relative path (without "${ARCADIA_ROOT}/" prefix).

0 commit comments

Comments
 (0)