diff options
author | Matthias Klose <doko@debian.org> | 2017-09-13 13:25:47 -0700 |
---|---|---|
committer | Matthias Klose <doko@debian.org> | 2017-09-13 13:25:47 -0700 |
commit | c42f029316c0c004a795ca170bdb50644a800534 (patch) | |
tree | 91e54a6407b17e02e410dbe9a6335b2c4d74c245 /debian/rules | |
parent | 9714b44a37dfc03aa00187726beea7ed8257415e (diff) | |
parent | abc3836ffbf6083c2572f5c8622e4926c71ebc9c (diff) |
Record tome (2.4~0.git.2015.12.29-1.2) in archive suite sid
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index c31c20b0..6abd12de 100755 --- a/debian/rules +++ b/debian/rules @@ -37,11 +37,21 @@ PKG_STATLIB= $(TMPTOP)$(PREFIX)/lib/$(package) DPKG_ARCH := dpkg-architecture export DEB_HOST_MULTIARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_MULTIARCH) +DEB_HOST_ARCH := $(shell $(DPKG_ARCH) -qDEB_HOST_ARCH) +CONFIGURE_ARGS := +ifneq (,$(filter amd64 arm64 armel armhf i386 powerpc ppc64 ppc64el x32 sparc sparc64,$(DEB_HOST_ARCH))) + # Upstream passes these unconditionally, but they're only available on + # certain architectures. + CONFIGURE_ARGS += \ + -DCMAKE_C_FLAGS="-fsanitize=undefined -fsanitize=address" \ + -DCMAKE_CXX_FLAGS="-fsanitize=undefined -fsanitize=address" +endif + %: dh $@ override_dh_auto_configure: - dh_auto_configure -- -DSYSTEM_INSTALL:BOOL=true + dh_auto_configure -- -DSYSTEM_INSTALL:BOOL=true $(CONFIGURE_ARGS) override_dh_auto_build: bash -n debian/tome.postinst |