File: rules

package info (click to toggle)
mhash 0.9.9.9-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,136 kB
  • sloc: ansic: 9,492; sh: 8,972; makefile: 84
file content (19 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# make it work on gcc-15  (fix ftbfs - bug #1097393)
CFLAGS+=--std=gnu17

%:
	dh $@

export CPPFLAGS =						\
	-DMHASH_ROBUST						\
	$(shell dpkg-buildflags --get CPPFLAGS)

override_dh_auto_configure:
	dh_auto_configure -- --enable-pkgconfig

override_dh_installchangelogs:
	dh_installchangelogs NEWS