Properly specify inline-depth for clang [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-09-15 17:30:13 +03:00
parent 096fec6504
commit bf5ef11933

View File

@ -109,7 +109,7 @@ endif ()
# Special options for better optimized code with clang
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -mllvm -inline-threshold=10000")
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -Wno-unused-command-line-argument -mllvm -inline-threshold=10000")
endif ()
set (CMAKE_BUILD_COLOR_MAKEFILE ON)