File: rules

package info (click to toggle)
rust-resource-proof 1.0.39-12
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 212 kB
  • sloc: makefile: 9; sh: 1
file content (14 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_CXXFLAGS_MAINT_APPEND  = -Wall -pedantic

# trust upstream optimization level unless explicitly disabled
ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
export DEB_CFLAGS_MAINT_STRIP=-O2
export DEB_CXXFLAGS_MAINT_STRIP=-O2
endif

%:
	dh $@