File: rules

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

ifeq ($(CC),clang)
  export DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=-lto
  export DEB_CFLAGS_MAINT_APPEND=-gdwarf-4
else
  export DEB_BUILD_MAINT_OPTIONS=hardening=+all
endif

%:
	dh "$@"