Commit 18b9fa6b authored by Alexander Gerasiov's avatar Alexander Gerasiov

d/rules: Disable LTO on archs other than amd64.

Signed-off-by: Alexander Gerasiov's avatarAlexander GQ Gerasiov <gq@cs.msu.su>
parent 485940b5
......@@ -29,7 +29,11 @@ endif
CMAKE_FLAGS = -DUNBUNDLED=1 -DUSE_STATIC_LIBRARIES=0 USE_UNWIND=0 -DCLICKHOUSE_SPLIT_BINARY=1 -DVERSION_DESCRIBE=$(shell dpkg-parsechangelog -S Version)
CMAKE_FLAGS+=-DENABLE_IPO=1
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq ($(DEB_HOST_ARCH),amd64)
CMAKE_FLAGS+=-DENABLE_IPO=1
endif
%:
dh $@ --buildsystem=cmake
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment