this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Build CommonCrypto

+55 -21
+1 -1
cmake/use_ld64.cmake
··· 27 27 -Wl,-dylib_file,/usr/lib/system/libsystem_platform.dylib:${CMAKE_BINARY_DIR}/src/external/libplatform/libplatform_firstpass.dylib \ 28 28 -Wl,-dylib_file,/usr/lib/system/libcorecrypto.dylib:${CMAKE_BINARY_DIR}/src/external/corecrypto/libcorecrypto_firstpass.dylib \ 29 29 -Wl,-dylib_file,/usr/lib/system/libsystem_coretls.dylib:${CMAKE_BINARY_DIR}/src/external/coretls/libsystem_coretls.dylib \ 30 - -Wl,-dylib_file,/usr/lib/libcommonCrypto.dylib:${CMAKE_BINARY_DIR}/src/CommonCrypto/libcommonCrypto.dylib \ 30 + -Wl,-dylib_file,/usr/lib/system/libcommonCrypto.dylib:${CMAKE_BINARY_DIR}/src/external/commoncrypto/libcommonCrypto.dylib \ 31 31 -Wl,-dylib_file,/usr/lib/system/libsystem_asl.dylib:${CMAKE_BINARY_DIR}/src/external/syslog/libsystem_asl.tproj/libsystem_asl_firstpass.dylib \ 32 32 -Wl,-dylib_file,/usr/lib/libresolv.9.dylib:${CMAKE_BINARY_DIR}/src/libresolv/libresolv.9.dylib \ 33 33 -Wl,-dylib_file,/usr/lib/system/libxpc.dylib:${CMAKE_BINARY_DIR}/src/external/libxpc/libxpc_firstpass.dylib \
+1 -1
platform-include/CommonCrypto
··· 1 - ../src/CommonCrypto/CommonCrypto/ 1 + ../src/external/commoncrypto/include/
+1
platform-include/CommonNumerics
··· 1 + ../src/external/commoncrypto/include/
+1
platform-include/copyfile.h
··· 1 + ../src/copyfile/copyfile.h
+1 -1
src/CMakeLists.txt
··· 125 125 add_subdirectory(external/libxml2) 126 126 add_subdirectory(external/libxslt) 127 127 add_subdirectory(external/icu/icuSources) 128 + add_subdirectory(external/commoncrypto) 128 129 add_subdirectory(external/corefoundation) 129 130 add_subdirectory(external/openssl/src) 130 131 #add_subdirectory(external/configd/SystemConfiguration.fproj) ··· 147 148 add_subdirectory(libedit) 148 149 add_subdirectory(external/libclosure) 149 150 add_subdirectory(external/compiler-rt/lib/builtins) 150 - add_subdirectory(CommonCrypto) 151 151 add_subdirectory(csu) 152 152 add_subdirectory(external/python/2.6/Python-2.6.9) 153 153 add_subdirectory(external/python/2.7/Python-2.7.10)
+13 -13
src/libmalloc/CMakeLists.txt
··· 1 1 project(darling-libsystem_malloc) 2 2 3 - cmake_minimum_required(VERSION 2.4.0) 4 - 5 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse -msse2 -msse3 -fblocks -ggdb") 6 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__DARWIN_UNIX03 -fPIC -w -nostdinc") 7 - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-bind_at_load") 8 - 9 - add_definitions(-DTARGET_OS_MAC=1) 10 - add_definitions(-D__APPLE__ -D__DYNAMIC__ -DPRIVATE -DOS_UNFAIR_LOCK_INLINE=1) 11 - add_definitions("'-DMAGMALLOC_MALLOCERRORBREAK()='") 12 - 13 3 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/malloc) 14 4 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/private) 15 5 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) ··· 18 8 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../kernel/libsyscall/wrappers/) 19 9 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../kernel/libsyscall) 20 10 include_directories(${CMAKE_SOURCE_DIR}/src/external/libpthread/private) 11 + 12 + add_compile_options( 13 + -nostdinc 14 + ) 15 + 16 + add_definitions( 17 + -D__APPLE__ 18 + -D__DYNAMIC__ 19 + -DPRIVATE 20 + -DOS_UNFAIR_LOCK_INLINE=1 21 + -DTARGET_OS_MAC=1 22 + -D__DARWIN_UNIX03 23 + ) 21 24 22 25 set(libmalloc_sources 23 26 src/bitarray.c ··· 45 48 system_dyld 46 49 compiler_rt 47 50 ) 48 - #target_link_libraries(system_malloc PRIVATE system_kernel) 49 - #make_fat(system_malloc) 50 51 51 52 install(TARGETS system_malloc DESTINATION libexec/darling/usr/lib/system) 52 -
+1 -1
src/libmalloc/src/malloc.c
··· 531 531 // that will be called after an error message appears. It does not make 532 532 // sense for developers to call this function, so it is marked 533 533 // hidden to prevent it from becoming API. 534 - MAGMALLOC_MALLOCERRORBREAK(); // DTrace USDT probe 534 + 535 535 } 536 536 537 537 int
+36 -4
src/libsystem/CMakeLists.txt
··· 40 40 ${libsystem_sources} 41 41 OBJECTS 42 42 $<TARGET_OBJECTS:kqueue> 43 + 44 + SIBLINGS 45 + 46 + system_malloc 47 + 43 48 ) 44 - target_link_libraries(system PRIVATE system_malloc system_c system_kernel keymgr sandbox 45 - system_m system_info system_notify system_quarantine libdispatch_shared launch compiler_rt 46 - removefile system_copyfile unwind system_coreservices system_dyld macho CommonCrypto 47 - system_pthread platform system_asl system_duct system_blocks xpc corecrypto system_coretls) # objc 49 + target_link_libraries(system PRIVATE 50 + sandbox 51 + system_quarantine 52 + removefile 53 + system_copyfile 54 + system_coreservices 55 + 56 + system_malloc 57 + system_c 58 + system_kernel 59 + keymgr 60 + system_m 61 + system_info 62 + system_notify 63 + libdispatch_shared 64 + launch 65 + compiler_rt 66 + unwind 67 + system_dyld 68 + macho 69 + system_pthread 70 + platform 71 + system_asl 72 + system_duct 73 + system_blocks 74 + xpc 75 + corecrypto 76 + system_coretls 77 + commonCrypto 78 + ) 79 + 48 80 set_target_properties(system PROPERTIES OUTPUT_NAME "System.B") 49 81 set_property(TARGET system APPEND_STRING PROPERTY LINK_FLAGS 50 82 " -sub_library libsystem_malloc \