diff options
author | ilyaonoff <ilyaonoff@yandex-team.com> | 2023-11-23 11:27:10 +0300 |
---|---|---|
committer | ilyaonoff <ilyaonoff@yandex-team.com> | 2023-11-23 12:18:48 +0300 |
commit | ccffd11087d1a5902a4665b97ff6a3dc645d3649 (patch) | |
tree | 0c07543b5759dddcaa345855def035966faf285f /contrib/libs/pcre/ya.make | |
parent | 44354d0fc55926c1d4510d1d2c9c9f6a1a5e9300 (diff) | |
download | ydb-ccffd11087d1a5902a4665b97ff6a3dc645d3649.tar.gz |
Add the ability to change LINK_SIZE when building
Diffstat (limited to 'contrib/libs/pcre/ya.make')
-rw-r--r-- | contrib/libs/pcre/ya.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libs/pcre/ya.make b/contrib/libs/pcre/ya.make index d3345c87a2..6ce9c8264c 100644 --- a/contrib/libs/pcre/ya.make +++ b/contrib/libs/pcre/ya.make @@ -29,6 +29,12 @@ CFLAGS( -DHAVE_CONFIG_H ) +IF(PCRE_LINK_SIZE) + CFLAGS( + -DPCRE_LINK_SIZE=$PCRE_LINK_SIZE + ) +ENDIF() + # JIT adds ≈108KB to binary size which may be critical for mobile and embedded devices binary distributions DEFAULT(ARCADIA_PCRE_ENABLE_JIT yes) |