diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-11-23 04:59:07 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-11-23 04:59:07 +0000 |
commit | 612cb6ef2b49f20f406484a4473849fd02c37e62 (patch) | |
tree | ba0ad5b3362b3db82b0a3e9a5433c268def9693e /lldb | |
parent | 34f30516aa7f32cbff61dc9066f0b332dfd88c2b (diff) | |
download | bcm5719-llvm-612cb6ef2b49f20f406484a4473849fd02c37e62.tar.gz bcm5719-llvm-612cb6ef2b49f20f406484a4473849fd02c37e62.zip |
Add --enable-cxx11 to llvm builds. As of r195239, SmallPtrSet.h /
SmallPtrSet.cpp use different methods if SmallPtrSet.h is included
in C++11 mode. Building llvm in C++03 mode and lldb in C++11 mode
resulted in a link-time failure with the C++11-mode-specific method
not being found in the llvm build.
llvm-svn: 195544
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/scripts/build-llvm.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/scripts/build-llvm.pl b/lldb/scripts/build-llvm.pl index 8b7fa052a86..38f75457cce 100644 --- a/lldb/scripts/build-llvm.pl +++ b/lldb/scripts/build-llvm.pl @@ -33,11 +33,11 @@ my $original_env_path = $ENV{PATH}; my $common_configure_options = "--disable-terminfo"; our %llvm_config_info = ( - 'Debug' => { configure_options => '--disable-optimized --disable-assertions --enable-libcpp', make_options => 'DEBUG_SYMBOLS=1'}, - 'Debug+Asserts' => { configure_options => '--disable-optimized --enable-assertions --enable-libcpp' , make_options => 'DEBUG_SYMBOLS=1'}, - 'Release' => { configure_options => '--enable-optimized --disable-assertions --enable-libcpp' , make_options => ''}, - 'Release+Debug' => { configure_options => '--enable-optimized --disable-assertions --enable-libcpp' , make_options => 'DEBUG_SYMBOLS=1'}, - 'Release+Asserts' => { configure_options => '--enable-optimized --enable-assertions --enable-libcpp' , make_options => ''}, + 'Debug' => { configure_options => '--disable-optimized --disable-assertions --enable-cxx11 --enable-libcpp', make_options => 'DEBUG_SYMBOLS=1'}, + 'Debug+Asserts' => { configure_options => '--disable-optimized --enable-assertions --enable-cxx11 --enable-libcpp' , make_options => 'DEBUG_SYMBOLS=1'}, + 'Release' => { configure_options => '--enable-optimized --disable-assertions --enable-cxx11 --enable-libcpp' , make_options => ''}, + 'Release+Debug' => { configure_options => '--enable-optimized --disable-assertions --enable-cxx11 --enable-libcpp' , make_options => 'DEBUG_SYMBOLS=1'}, + 'Release+Asserts' => { configure_options => '--enable-optimized --enable-assertions --enable-cxx11 --enable-libcpp' , make_options => ''}, ); our $llvm_config_href = undef; |