aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/global_flags.cmake
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-29 14:16:31 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-29 14:16:31 +0300
commitfa0323008ed5b3f922acaada49856bd409937257 (patch)
tree5906a6f81d531a3597c96199862a9abfcd4760d4 /cmake/global_flags.cmake
parent7fd5a8abdd58a65c76a3fde443a7d4a35376471e (diff)
downloadydb-fa0323008ed5b3f922acaada49856bd409937257.tar.gz
intermediate changes
ref:8f926fb2114d50e58b7c5b8dbe33a338c5ab811d
Diffstat (limited to 'cmake/global_flags.cmake')
-rw-r--r--cmake/global_flags.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/global_flags.cmake b/cmake/global_flags.cmake
index 699ae906ba..dc68e42d12 100644
--- a/cmake/global_flags.cmake
+++ b/cmake/global_flags.cmake
@@ -101,6 +101,6 @@ add_link_options(
if (APPLE)
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
elseif(UNIX)
- set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fuse-init-array)
- set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -fuse-init-array)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-init-array")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-init-array")
endif()