Skip to content

Commit cdd3ece

Browse files
committed
NO_IMPLICIT_EXTERN_C no longer needed
1 parent 0a74a1c commit cdd3ece

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,6 @@ list(APPEND pthread_tools
424424
AR=${binutils_prefix}-ar
425425
)
426426

427-
# Prevent GCC wrapping system includes in extern "C" (modern systems should define this)
428-
set(GCC_CFLAGS "-DNO_IMPLICIT_EXTERN_C")
429-
430427
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
431428
# GCC on OSX (Clang in diguise) needs more bracket nesting depth to compile gcc
432429
set(GCC_CFLAGS "${GCC_CFLAGS} -fbracket-depth=512")

0 commit comments

Comments
 (0)