#!/usr/bin/make -f # -*- makefile -*- include /usr/share/dpkg/default.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # see FEATURE AREAS in dpkg-buildflags(1) DEB_BUILD_MAINT_OPTIONS=hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk export SOVER=1 export SONAME=libuv.so.$(SOVER) export SOPKG=libuv$(SOVER) # tell glibc to disable dns requests for the tests export RES_OPTIONS = attempts:0 $(info "Note: Increasing timeout of time sensitive tests") export UV_TEST_TIMEOUT_MULTIPLIER = 2 %: dh $@ --without autoreconf override_dh_strip: dh_strip --dbgsym-migration='$(SOPKG)-dbg (<< 1.11.0-1~)' # Testsuite is not robust enough, ignore errors on non-linux override_dh_auto_test: ifeq ($(DEB_BUILD_ARCH_OS),linux) # tests fail if they are run in parallel dh_auto_test --no-parallel else -dh_auto_test endif