#!/usr/bin/make -f # -*- makefile -*- export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) #export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # see #852663 regarding the -O1 workaround CFLAGS += -O1 -Wall -DDEBUG -g export LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH) export LIBEXECDIR = /lib/$(DEB_HOST_MULTIARCH) BACKEND = x86emu %: dh $@ override_dh_auto_build: dh_auto_build -- BACKEND="$(BACKEND)" override_dh_strip: dh_strip --dbg-package=libx86-dbg