Fixed linkage in Jenkins [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-12-14 20:25:55 +03:00
parent 9c36280711
commit b9b48c646c
1 changed files with 3 additions and 3 deletions

View File

@ -187,10 +187,10 @@ if (OS_LINUX AND COMPILER_CLANG)
endif ()
endif ()
if (COMPILER_GCC)
set (STATIC_STDLIB_FLAGS "-static-libgcc -static-libstdc++")
else ()
if (USE_LIBCXX)
set (STATIC_STDLIB_FLAGS "")
else ()
set (STATIC_STDLIB_FLAGS "-static-libgcc -static-libstdc++")
endif ()
if (MAKE_STATIC_LIBRARIES AND NOT APPLE AND NOT (COMPILER_CLANG AND OS_FREEBSD))