#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

archs_failing_testsuite_with_O2 := arm64
ifneq (,$(filter $(DEB_HOST_ARCH),$(archs_failing_testsuite_with_O2)))
  export DEB_CXXFLAGS_MAINT_APPEND += -mno-late-ldp-fusion
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_QCH=ON
