From: Scott D Phillips Date: Fri, 1 Jun 2018 23:26:56 +0000 (-0700) Subject: util: tests: vma test depends on C++11 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b123fb74bae332df3ae52d276e5d63b1e6095ee;p=mesa.git 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 Reviewed-by: Dylan Baker --- 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