diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-25 00:23:54 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.ru> | 2022-02-25 00:23:54 +0300 |
commit | 207b28a6021793cec36893b859eb01c76434e6b1 (patch) | |
tree | 406ddff6e841c13450a4c798f68e4fbebb57c3b4 /util/ya.make | |
parent | 9e08dc29988aa927698e62abd83d0930c730c464 (diff) | |
download | ydb-207b28a6021793cec36893b859eb01c76434e6b1.tar.gz |
Implement SRC_CPP_NO_LTO and use it util/
`-flto` / `-fno-lto` is not available in clang-cl, so we should not use it in order to prevent `-Wunknown-argument` from being triggered
Raw CFLAGS are not user-friendly, we should define a better macro for thi (somewhat popular) case.
ref:6f969138dc8b6fe4c420eb2ef4c0e50c2503d184
Diffstat (limited to 'util/ya.make')
-rw-r--r-- | util/ya.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ya.make b/util/ya.make index ab34124774..523c80a17d 100644 --- a/util/ya.make +++ b/util/ya.make @@ -329,7 +329,7 @@ JOIN_SRCS( system/yield.cpp ) -SRC(system/compiler.cpp -fno-lto) +SRC_CPP_NO_LTO(system/compiler.cpp) IF (OS_WINDOWS) SRCS( |