Skip to content

Commit

Permalink
build: suppress error until this is fixed upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Aug 15, 2024
1 parent d755d35 commit 3ced13a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmake/folly.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ add_library(dwarfs_folly_lite OBJECT
${CMAKE_CURRENT_SOURCE_DIR}/folly/folly/system/ThreadName.cpp
)

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# silence warning until this is fixed upstream
set_source_files_properties(
${CMAKE_CURRENT_SOURCE_DIR}/folly/folly/net/NetOps.cpp
PROPERTIES COMPILE_FLAGS "-Wno-address"
)
endif()

if(WIN32)
target_sources(dwarfs_folly_lite PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/folly/folly/net/detail/SocketFileDescriptorMap.cpp
Expand Down

0 comments on commit 3ced13a

Please sign in to comment.