]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
mingw: remove no-asynchronous-unwind-tables (#9963)
authorJames Tucker <jftucker@gmail.com>
Wed, 15 Jun 2022 00:42:55 +0000 (17:42 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Jun 2022 00:42:55 +0000 (17:42 -0700)
Summary:
This default is generally incompatible with other parts of mingw, and
can be applied by outside users as-needed.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9963

Reviewed By: akankshamahajan15

Differential Revision: D36302813

Pulled By: ajkr

fbshipit-source-id: 9456b41a96bde302bacbc39e092ccecfcb42f34f

CMakeLists.txt

index f02f8cf2ca2d3ee10e791417d4f04e0c23c083ac..07f89a9cbe15b5b2592c28860df201b422e73263 100644 (file)
@@ -194,7 +194,7 @@ else()
     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes")
   endif()
   if(MINGW)
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format -fno-asynchronous-unwind-tables")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format")
     add_definitions(-D_POSIX_C_SOURCE=1)
   endif()
   if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")