File: rules

package info (click to toggle)
libdfp 1.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 16,076 kB
  • sloc: ansic: 255,048; sh: 6,406; makefile: 695; awk: 461; python: 432; cpp: 254
file content (19 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions

ifeq ($(DEB_HOST_ARCH),ppc64el)
	cpu = --with-cpu=power8
endif
ifeq ($(DEB_HOST_ARCH),s390x)
	cpu = --with-cpu=zEC12
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-decimal-float=yes $(cpu)