summaryrefslogtreecommitdiff
path: root/snappy/snappy-do-not-disable-rtti.patch
blob: b8d1c1fc2200c71827015e9a687a2ea1c297e0d3 (plain)
    1 diff -Naur a/CMakeLists.txt b/CMakeLists.txt
    2 --- a/CMakeLists.txt	2021-05-04 15:53:34.000000000 -0700
    3 +++ b/CMakeLists.txt	2021-07-08 15:07:15.382419910 -0700
    4 @@ -76,10 +76,6 @@
    5    # Disable C++ exceptions.
    6    string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
    7    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
    8 -
    9 -  # Disable RTTI.
   10 -  string(REGEX REPLACE "-frtti" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
   11 -  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
   12  endif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
   13  
   14  # BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to make

Generated by cgit