aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/ya_cpp.make.inc
blob: 59dfb6e1c0dc6f882405496154d0a0dcff03245f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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
    )

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