#!/usr/bin/make -f # Fix hardening-no-bindnow export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow export DEB_CXXFLAGS_MAINT_STRIP=-O2 export DEB_CFLAGS_MAINT_STRIP=-O2 ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) ifeq ($(ARCH),armhf) PLATFORM=platform="armv gles neon hardfloat" endif %: dh $@ --parallel override_dh_auto_build: dh_auto_build -- $(PLATFORM) override_dh_installdocs: dh_installdocs cd debian/libretro-*/usr/share/doc/libretro-mupen64plus/ && mv COPYING cxd4-license