]> git.saurik.com Git - apple/libpthread.git/blobdiff - tests/Makefile
libpthread-454.100.8.tar.gz
[apple/libpthread.git] / tests / Makefile
index f41b8730698264c3e0a9b56339989c401524c69a..f898cf7f5c14672669c8b03d84e825cc14a35cd9 100644 (file)
@@ -56,6 +56,11 @@ TARGETS += wq_limits
 TARGETS += add_timer_termination
 TARGETS += perf_contended_mutex_rwlock
 
+ifeq ($(PLATFORM),MacOSX)
+TARGETS += pthread_jit_write_protection
+pthread_jit_write_protection: CODE_SIGN_ENTITLEMENTS=pthread_jit_write_protection-entitlements.plist
+endif
+
 # this should be CUSTOM_TARGETS, see "Compatibility defines" in Makefile.targets
 OTHER_TARGETS := stackoverflow_crash
 
@@ -65,7 +70,8 @@ OTHER_LTE_INCLUDE_FILES += \
 OTHER_CFLAGS := -DDARWINTEST -Weverything \
                -Wno-vla -Wno-bad-function-cast -Wno-missing-noreturn \
                -Wno-missing-field-initializers -Wno-format-pedantic \
-               -Wno-gnu-folding-constant -Wno-used-but-marked-unused
+               -Wno-gnu-folding-constant -Wno-used-but-marked-unused \
+               -Wno-padded
 OTHER_LDFLAGS := -ldarwintest_utils
 
 #TARGETS += main_stack_legacy // Disabled by default due to linker warnings
@@ -89,3 +95,4 @@ stackoverflow_crash: helpers/stackoverflow_crash.c
 install-stackoverflow_crash: stackoverflow_crash
        mkdir -p $(INSTALLDIR)/assets
        @cp $(SYMROOT)/assets/stackoverflow_crash $(INSTALLDIR)/assets
+