#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Temporary workaround to build with GCC 11
# https://github.com/LunarG/gfxreconstruct/issues/544
export DEB_CXXFLAGS_MAINT_APPEND = "-Wno-error=stringop-overflow="

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release
