#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DENABLE_LTO=OFF \
		-DENABLE_CCACHE=OFF \
		-DBUILD_SHARED_LIBS=ON \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo

override_dh_install:
	dh_install
	rm -rf debian/libosrm-dev/usr/include/flatbuffers
