From 5672b6c2c8b28ba738a7f3013085622ebced3250 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 8 Sep 2016 20:09:42 +0100 Subject: [PATCH] Enable custom allocator use on clang. --- config.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lib b/config.lib index 5509ee5b96..5a270b27a0 100644 --- a/config.lib +++ b/config.lib @@ -1359,7 +1359,7 @@ make_compiler_cflags() { if [ "$cc_version" -ge "33" ]; then # clang completed C++11 support in version 3.3 - flags="$flags -std=c++11" + flags="$flags -std=c++11 -DCUSTOM_ALLOCATOR" else log 1 "configure: error: clang version is too old: `$1 -v 2>&1 | head -n 1`, minumum: 3.3" exit 1