aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64/avx2/ya.make
blob: d94d6c90614a9114475ecaa881f261bc0450d515 (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
LIBRARY()

LICENSE(
    BSD-2-Clause AND
    MIT
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

NO_UTIL()

SRCS(
    codec_avx2.c
    lib.c
)

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

END()