summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index dc836cafc2..24d727175b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,6 +53,10 @@ CONF_OPTIONS =
ifneq (,$(findstring with-dmalloc,$(DEB_BUILD_OPTIONS)))
CONF_OPTIONS += --with-dmalloc
endif
+# inhibit building with --enable-openbsd-malloc
+ifeq (,$(findstring no-enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
+ CONF_OPTIONS += --enable-openbsd-malloc
+endif
configure: patch-stamp
config.status: configure