Skip to content

Commit

Permalink
THe include for libunwind needs to be isystem not I. There is a diffe…
Browse files Browse the repository at this point in the history
…rence for clang and g++ (arangodb#19220)
  • Loading branch information
mchacki authored Jun 13, 2023
1 parent 4aa1ba2 commit de22669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdParty/jemalloc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (LINUX OR DARWIN)
if (USE_JEMALLOC_PROF)
if (USE_LIBUNWIND)
SET(JEMALLOC_PROF "--enable-prof" "--enable-prof-libunwind" "--with-static-libunwind=${LIBUNWIND_LIB}")
SET(JEMALLOC_C_FLAGS "${CMAKE_C_FLAGS} -I${LIBUNWIND_HOME}/include")
SET(JEMALLOC_C_FLAGS "${CMAKE_C_FLAGS} -isystem ${LIBUNWIND_HOME}/include")
else ()
SET(JEMALLOC_PROF "--enable-prof")
endif()
Expand Down

0 comments on commit de22669

Please sign in to comment.