#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-include /usr/share/dpkg/architecture.mk
CFLAGS += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)
LDFLAGS += -Wl,--as-needed

$(info $(DEB_HOST_ARCH))

%:
	dh $@ 
override_dh_makeshlibs:

ifeq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 armhf i386 mipsel))
override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_QT=off
endif
