summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/ya_cpp.make.inc
blob: f062ffcf137842218e22d8147803b8a9d49dcc18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file should be included in all YT projects (including YT ORM installations).

IF (CLANG)
    CXXFLAGS(
        -Wdeprecated-this-capture
        -Wimplicit-fallthrough
        -Wparentheses
        -Wno-logical-op-parentheses
        -Wno-bitwise-op-parentheses
        -Wswitch
        -Wreturn-type
    )

    IF (MUSL)
        CXXFLAGS(
            --system-header-prefix=endian.h
            --system-header-prefix=byteswap.h
        )
    ENDIF()
ENDIF()