aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64/ssse3/ya.make
blob: 16055eac9a26797292949846d6619d9055c99028 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
LIBRARY()

VERSION(0.3.0)

LICENSE(
    BSD-2-Clause AND
    MIT
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

NO_UTIL()

SRCS(
    codec_ssse3.c
    lib.c
)

IF (ARCH_X86_64 OR ARCH_I386)
    IF (MSVC AND NOT CLANG_CL)
        CONLYFLAGS(/D__SSSE3__=1)
    ELSEIF (CLANG_CL)
        CONLYFLAGS(-mssse3)
    ELSE()
        CONLYFLAGS(
            -mssse3
            -std=c11
        )
    ENDIF()
ENDIF()

END()