Changeset 4436


Ignore:
Timestamp:
Jan 23, 2015, 10:38:44 AM (3 years ago)
Author:
cameron
Message:

Turn RTTI off

Location:
icGREP/icgrep-devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r4427 r4436  
    110110#Disable RunTime Type Information
    111111IF (MSVC) # using Visual Studio C++
    112   #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR-")
     112  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR-")
    113113ELSE() # using Clang, GCC, Intel C++, etc
    114   #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
     114  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
    115115ENDIF()
    116116
  • icGREP/icgrep-devel/llvm-3.5.0.src/CMakeLists.txt

    r4322 r4436  
    176176endif()
    177177
    178 set (LLVM_ENABLE_RTTI 1)
    179178
    180179option(LLVM_ENABLE_FFI "Use libffi to call external functions from the interpreter" OFF)
Note: See TracChangeset for help on using the changeset viewer.