File: rules

package info (click to toggle)
libretro-beetle-pce-fast 0.9.38.7%2Bgit20160609-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,920 kB
  • sloc: ansic: 14,026; cpp: 13,914; pascal: 399; makefile: 302; xml: 12
file content (16 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Fix hardening-no-bindnow
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)

ifeq ($(ARCH),armhf)
	PLATFORM=platform="armv hardfloat"
endif

%:
	dh $@ --parallel

override_dh_auto_build:
	dh_auto_build -- $(PLATFORM)