File: rules

package info (click to toggle)
libfyaml 0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,684 kB
  • sloc: ansic: 51,709; asm: 8,692; sh: 1,185; makefile: 545; python: 24
file content (15 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--version-script=$(CURDIR)/debian/libfyaml0.map
ifneq ($(filter armel m68k powerpc sh4,$(DEB_HOST_ARCH)),)
DEB_LDFLAGS_MAINT_APPEND += -latomic
endif

# debian builds do not like testsuites to download stuff
%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-network --disable-shave