Merge pull request #31 from martell/master

added cpp backend for supporting clang related tools
This commit is contained in:
Алексей
2014-04-16 09:34:15 +04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
_realname=clang
_mingw_suff=mingw-w64-${CARCH}
pkgname=("${_mingw_suff}-${_realname}-svn" "${_mingw_suff}-clang-analyzer-svn" "${_mingw_suff}-llvm-svn") # "${_mingw_suff}-compiler-rt-svn"
pkgver=50784.258f1c3
pkgver=50791.64729e5
pkgrel=1
pkgdesc="LC language family frontend for LLVM (mingw-w64)"
arch=('any')
@@ -75,7 +75,7 @@ build() {
--build=${MINGW_CHOST} \
--host=${MINGW_CHOST} \
--with-sysroot=${MINGW_PREFIX} \
--enable-targets=x86,x86_64 \
--enable-targets=x86,x86_64,cpp \
--enable-optimized \
--disable-assertions \
--disable-pthreads \

View File

@@ -132,7 +132,7 @@ index 6561804..2a537db 100644
// Exceptions handling
- ExceptionsType = ExceptionHandling::DwarfCFI;
+ if (is64Bit && Triple.isWindowsGNUEnvironment())
+ if (is64Bit && T.isWindowsGNUEnvironment())
+ ExceptionsType = ExceptionHandling::Win64;
+ else
+ ExceptionsType = ExceptionHandling::DwarfCFI;