File: rules

package info (click to toggle)
bluez-tools 0.1.38%2Bgit662e-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,068 kB
  • sloc: ansic: 7,093; sh: 1,170; makefile: 64
file content (11 lines) | stat: -rwxr-xr-x 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS+=-Wl,-z,defs -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- LDFLAGS="$(LDFLAGS)"