aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/global_flags.cmake
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2022-10-03 13:42:11 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2022-10-03 13:42:11 +0300
commit13d4d93b54c59bbaac9b0b8bcac6d97ef591dcc8 (patch)
treea357e613cd206c48ad1f0d4819621f03235c8d2e /cmake/global_flags.cmake
parent8802f8ecdbe8bb031f90d7ecc6aeccfd373b1c84 (diff)
downloadydb-13d4d93b54c59bbaac9b0b8bcac6d97ef591dcc8.tar.gz
External build system generator release 11
Update tools: yexport
Diffstat (limited to 'cmake/global_flags.cmake')
-rw-r--r--cmake/global_flags.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/global_flags.cmake b/cmake/global_flags.cmake
index 5b8277f69e..a303ccd22e 100644
--- a/cmake/global_flags.cmake
+++ b/cmake/global_flags.cmake
@@ -76,6 +76,8 @@ endif()
if (ANDROID)
include_directories(SYSTEM ${CMAKE_ANDROID_NDK}/sources/cxx-stl/llvm-libc++abi/include)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64")
endif()