Enable LTO
This commit is contained in:
parent
5f8aa3c33c
commit
86b98a4de5
@ -602,6 +602,7 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
||||
-DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-pie %{build_ldflags}" \
|
||||
-DWITH_LTO=ON \
|
||||
%{?with_debug: -DWITH_DEBUG=1} \
|
||||
%{?with_debug: -DMYSQL_MAINTAINER_MODE=0} \
|
||||
-DTMPDIR=/var/tmp \
|
||||
|
Loading…
Reference in New Issue
Block a user