]> git.saurik.com Git - apple/libpthread.git/blobdiff - xcodescripts/kext.xcconfig
libpthread-137.1.1.tar.gz
[apple/libpthread.git] / xcodescripts / kext.xcconfig
index dd415299eac5194f35bf3d98ffddac1519d2d489..4aa260ebe7444c983957f56ec7a7988bfee7f1f2 100644 (file)
@@ -1,7 +1,7 @@
 // pthread kext build options
 
 ARCHS = $(ARCHS_STANDARD_32_64_BIT)
-SUPPORTED_PLATFORMS = macosx iphoneos
+SUPPORTED_PLATFORMS = macosx iphoneos appletvos watchos
 DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
 INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Extensions
 MODULE_NAME = com.apple.kec.pthread
@@ -19,8 +19,8 @@ GCC_C_LANGUAGE_STANDARD = gnu99
 CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
 CLANG_CXX_LIBRARY = libc++
 GCC_PRECOMPILE_PREFIX_HEADER = YES
-GCC_PREPROCESSOR_DEFINITIONS = XNU_KERNEL_PRIVATE MACH_KERNEL_PRIVATE ABSOLUTETIME_SCALAR_TYPE NEEDS_SCHED_CALL_T
-//GCC_OPTIMIZATION_LEVEL = 0
+GCC_PREPROCESSOR_DEFINITIONS_kext = XNU_KERNEL_PRIVATE MACH_KERNEL_PRIVATE ABSOLUTETIME_SCALAR_TYPE NEEDS_SCHED_CALL_T
+GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS_kext)
 
 GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES
 GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES