summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-07-17 19:37:52 +0000
committerPeter Palfrader <peter@palfrader.org>2008-07-17 19:37:52 +0000
commit67c67287294bd5a9741b9cbd5ad472fea1b17a39 (patch)
treeded5465b755a537cdaf88828e02b8dc1130295b4 /debian/rules
parent3b356b11bf8e8b73504faf71adf50dc372d8236a (diff)
downloadtor-67c67287294bd5a9741b9cbd5ad472fea1b17a39.tar.gz
tor-67c67287294bd5a9741b9cbd5ad472fea1b17a39.zip
Do not build with openbsd's malloc unless enable-openbsd-malloc is in DEB_BUILD_OPTIONS
svn:r16028
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index b3f2b0dadb..797d67ea5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,8 +59,8 @@ 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)))
+# allow building with --enable-openbsd-malloc
+ifneq (,$(findstring enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
CONF_OPTIONS += --enable-openbsd-malloc
endif