File: rules

package info (click to toggle)
bosh 0.6-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: ansic: 2,008; sh: 1,005; makefile: 14
file content (14 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Specify the expected C dialect explicitly
# Starting with gcc-15, the compiler defaults to C23, which is way more strict
# with function prototypes and pointer types. The code is not ready for that
# yet, so specify the expected C dialect explicitly, by passing -std=gnu17.
# See https://bugs.debian.org/1096389
export DEB_CFLAGS_MAINT_PREPEND = -std=gnu17

%:
	dh $@