Disable RTTI for Loader, Logic, and JIT bins

This commit is contained in:
Nicholas Hastings
2014-09-11 17:15:59 -07:00
parent f0fe427fee
commit c62e7458f9
3 changed files with 15 additions and 0 deletions
+6
View File
@@ -19,6 +19,12 @@ if builder.target_platform == 'linux':
elif builder.target_platform == 'mac':
binary.compiler.cflags += ['-Wno-deprecated-declarations']
binary.compiler.postlink += ['-framework', 'CoreServices']
if binary.compiler.vendor == 'gcc' or binary.compiler.vendor == 'clang':
binary.compiler.cxxflags += ['-fno-rtti']
elif binary.compiler.vendor == 'msvc':
binary.compiler.cxxflags += ['/GR-']
binary.sources += [
'common_logic.cpp',
'smn_adt_array.cpp',