From a315fae243079018cd4862a240de4119780c4cd1 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 22 Dec 2021 13:25:29 +0200 Subject: [PATCH] fix DEB_CMAKE_FLAGS depending on DEB_HOST_ARCH --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index daf8f430..72eda211 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all - +ifeq ($(DEB_HOST_ARCH),amd64) export DEB_CMAKE_FLAGS = -DBUILD_AVX2=on -DBUILD_AVX512=on -DBUILD_AVX512VBMI=off +endif %: dh $@