@ -277,11 +277,6 @@ if (LIBDISPATCH)
target_link_libraries(objc ${LIBDISPATCH})
endif ()
# Enable .type and .section assembly directives on platforms other than OS X
if (NOT APPLE)
add_definitions(-DHAS_SECTION_DIRECTIVE=1)
# Make weak symbols work on OS X
if (APPLE)
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS
@ -109,6 +109,6 @@ CDECL(__objc_block_trampoline_end):
CDECL(__objc_block_trampoline_sret):
CDECL(__objc_block_trampoline_end_sret):
#endif
#if HAS_SECTION_DIRECTIVE
#ifdef __ELF__
.section .note.GNU-stack,"",%progbits
@ -10,6 +10,6 @@
#else
#warning objc_msgSend() not implemented for your architecture