Loading...
--- libmalloc/libmalloc-792.80.2/xcodeconfig/libmalloc.xcconfig
+++ libmalloc/libmalloc-521.100.59/xcodeconfig/libmalloc.xcconfig
@@ -27,15 +27,13 @@
OSATOMIC_PREPROCESSOR_DEFINITIONS = OSATOMIC_USE_INLINED=1 OS_UNFAIR_LOCK_INLINE=1
OSATOMIC_PREPROCESSOR_DEFINITIONS_NOINLINE = OSATOMIC_DEPRECATED=0 OSATOMIC_USE_INLINED=0 OS_UNFAIR_LOCK_INLINE=0
DRIVERKIT_PREPROCESSOR_DEFINITIONS[sdk=driverkit.macosx*] = MALLOC_TARGET_DK_OSX=1
-DRIVERKIT_PREPROCESSOR_DEFINITIONS[sdk=driverkit.watchos*] = MALLOC_TARGET_DK_WATCH=1
DRIVERKIT_PREPROCESSOR_DEFINITIONS[sdk=driverkit.iphoneos*] = MALLOC_TARGET_DK_IOS=1
-DRIVERKIT_PREPROCESSOR_DEFINITIONS[sdk=driverkit.xros*] = MALLOC_TARGET_DK_IOS=0 MALLOC_TARGET_DK_VISIONOS=1
GCC_NO_COMMON_BLOCKS = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
// TODO: Add -fno-stack-protector when uplink to Libc is removed
-OTHER_CFLAGS = $(inherited) $(PLATFORM_CFLAGS)
+OTHER_CFLAGS = $(inherited) $(PLATFORM_CFLAGS) -fno-typed-memory-operations
OTHER_CFLAGS_normal = $(inherited) -momit-leaf-frame-pointer
LLVM_LTO = LLVM_LTO_$(CURRENT_VARIANT)
@@ -64,7 +62,7 @@
// TODO: Eliminate the crosslink between libmalloc and Libc (13046853)
// The blocks runtime is safe for use only in the context of introspection
// logic, which isn't really in the same layer as the rest of libmalloc
-UPLINK_LDFLAGS = -Wl,-upward-lsystem_c -Wl,-upward-lsystem_blocks -Wl,-upward-lcorecrypto
+UPLINK_LDFLAGS = -Wl,-upward-lsystem_c -Wl,-upward-lsystem_blocks
INTERPOSE_LDFLAGS = -Wl,-interposable_list,$(SRCROOT)/xcodeconfig/interposable.list