mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
On Mac OS X, lldb will now build c++11 and use
libc++. We also no longer use the GNU extensions to C++ and C (we didn't use them anyway). This also means that the LLVM we use must be built with the new libc++. I will commit llvm.zip next. <rdar://problem/11930775> llvm-svn: 161562
This commit is contained in:
@@ -4048,9 +4048,11 @@
|
||||
x86_64,
|
||||
i386,
|
||||
);
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
__STDC_CONSTANT_MACROS,
|
||||
@@ -4105,9 +4107,11 @@
|
||||
ARCHS = "$(NATIVE_ARCH)";
|
||||
"ARCHS[sdk=iphoneos*]" = armv7;
|
||||
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_64_BIT)";
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
__STDC_CONSTANT_MACROS,
|
||||
__STDC_LIMIT_MACROS,
|
||||
@@ -4478,9 +4482,11 @@
|
||||
x86_64,
|
||||
i386,
|
||||
);
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
__STDC_CONSTANT_MACROS,
|
||||
__STDC_LIMIT_MACROS,
|
||||
|
||||
@@ -32,10 +32,10 @@ my $os_release = 11;
|
||||
my $original_env_path = $ENV{PATH};
|
||||
|
||||
our %llvm_config_info = (
|
||||
'Debug' => { configure_options => '--disable-optimized --disable-assertions', make_options => 'DEBUG_SYMBOLS=1'},
|
||||
'Debug+Asserts' => { configure_options => '--disable-optimized --enable-assertions' , make_options => 'DEBUG_SYMBOLS=1'},
|
||||
'Release' => { configure_options => '--enable-optimized --disable-assertions' , make_options => ''},
|
||||
'Release+Debug' => { configure_options => '--enable-optimized --disable-assertions' , make_options => 'DEBUG_SYMBOLS=1'},
|
||||
'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'},
|
||||
);
|
||||
|
||||
our $llvm_config_href = undef;
|
||||
|
||||
Reference in New Issue
Block a user