Author: Manuel Jacob
Branch: llvm-translation-backend
Changeset: r72372:ca9f8a00d634
Date: 2014-07-06 12:14 +0200
http://bitbucket.org/pypy/pypy/changeset/ca9f8a00d634/

Log:    Explicitly pass -fno-rtti when compiling PyPyGC.cpp.

diff --git a/rpython/translator/llvm/genllvm.py 
b/rpython/translator/llvm/genllvm.py
--- a/rpython/translator/llvm/genllvm.py
+++ b/rpython/translator/llvm/genllvm.py
@@ -1839,7 +1839,7 @@
         gc_cpp = this_file.new(basename='PyPyGC.cpp')
         gc_lib = this_file.new(purebasename='PyPyGC',
                                ext=self.translator.platform.so_ext)
-        cflags = cmdexec('llvm-config --cxxflags').strip()
+        cflags = cmdexec('llvm-config --cxxflags').strip() + ' -fno-rtti'
         cmdexec('clang {} -shared {} -o {}'.format(cflags, gc_cpp, gc_lib))
         return gc_lib
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to