#!/usr/bin/make -f

CFLAGS=$(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-O2//g')

%:
	dh $@ --parallel --with autoreconf

override_dh_makeshlibs:
	dh_makeshlibs -V 'libaacs0 (>= 0.5.0)'

override_dh_auto_configure:
	dh_auto_configure -- CFLAGS="$(CFLAGS)"
