File: rules

package info (click to toggle)
libnids 1.26-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: ansic: 3,723; sh: 2,472; makefile: 106
file content (12 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Setting the C dialect per '-std=gnu17' so that this code, abandoned upstream,
# still compiles with GCC-15.
export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing -std=gnu17

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared --prefix=$(CURDIR)/debian/tmp/usr