summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorScott D Phillips <[email protected]>2018-06-01 16:26:56 -0700
committerScott D Phillips <[email protected]>2018-06-05 10:13:14 -0700
commit4b123fb74bae332df3ae52d276e5d63b1e6095ee (patch)
treeff1ae89edd527ad2ccbeccac6771c438e91cc250 /src/util
parent6b8f3724c83959e62b1be0330d6d14e58f91dc5b (diff)
util: tests: vma test depends on C++11 support
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106776 Fixes: 943fecc569 ("util: Add a randomized test for the virtual memory allocator") Tested-by: Vinson Lee <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index b51dccdadfd..65794338c5b 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -22,8 +22,11 @@
SUBDIRS = . \
xmlpool \
tests/hash_table \
- tests/string_buffer \
- tests/vma
+ tests/string_buffer
+
+if HAVE_STD_CXX11
+SUBDIRS += tests/vma
+endif
include Makefile.sources