summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 280e586a3d87da527df35ce08f00e5f177a39f56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs

ifeq (,$(filter $(DEB_HOST_ARCH), ia64 kfreebsd-amd64 kfreebsd-i386))
	ENABLE_WEBKIT = -Dwebkitgtk=true
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		$(ENABLE_WEBKIT) \
		-Dlibnotify=true
bgstack15