[PATCH] Unbreak LLVM 3.5 build

LLVM 3.5 now needs c++11

LLVM 3.5 now needs c++11
---
configure.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index 768a6ad..b876f3a 100755
--- a/configure.py
+++ b/configure.py
@@ -65,13 +65,17 @@ def llvm_config(args):

llvm_version = string.split(string.replace(llvm_config(['--version']), 'svn', ''), '.')
llvm_system_libs = ''
+llvm_cxx11flags = ''
if (int(llvm_version[0]) == 3 and int(llvm_version[1]) >= 5) or int(llvm_version[0]) > 3:
    llvm_system_libs = llvm_config(['--system-libs'])
+ llvm_cxx11_flags = '-std=c++11'
+

llvm_cxxflags should have this option already. If it doesn't, try running make clean in your
llvm tree and then rebuilding.

-Tom

Hi Tom,

Thanks for pointing this out. Just cleaning and rebuilding wasn’t enough. Ripping out my whole build did the trick though; slightly bizarre. In any case, things work again.

Thanks,

Jeroen