diff options
author | Zoltan Varga <vargaz@gmail.com> | 2010-01-22 11:43:26 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2010-01-22 11:43:26 +0300 |
commit | 1e2950557ffee28f0972373545b982a5c79785d8 (patch) | |
tree | 84ab8d433096ed4794624f3e30c6d7a0942524df /configure.in | |
parent | 868681bfbbc94e6011e038143a12974b92949041 (diff) |
2010-01-22 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add -fno-rrti to CXXFLAGS.
svn path=/trunk/mono/; revision=150051
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 94b68d9cbed..fb3802d9764 100644 --- a/configure.in +++ b/configure.in @@ -1913,7 +1913,9 @@ if test "x$enable_llvm" = "xyes"; then # The output of --cflags seems to include optimizations flags too LLVM_CFLAGS=`$LLVM_CONFIG --cflags | sed -e 's/-O2//g' | sed -e 's/-O0//g' | sed -e 's/-fomit-frame-pointer//g' | sed -e 's/-fPIC//g'` - LLVM_CXXFLAGS=`$LLVM_CONFIG --cxxflags` + # LLVM is compiled with -fno-rtti, so we need this too, since our classes inherit + # from LLVM classes. + LLVM_CXXFLAGS=`$LLVM_CONFIG --cxxflags` -fno-rtti LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags` LLVM_LIBS=`$LLVM_CONFIG --libs core bitwriter jit x86codegen` LLVM_LIBS="$LLVM_LDFLAGS $LLVM_LIBS -lstdc++" |