]> git.saurik.com Git - cycript.git/commitdiff
Support full compilation on Mac OS X with clang++.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Jun 2013 14:23:04 +0000 (07:23 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Jun 2013 14:23:04 +0000 (07:23 -0700)
configure.ac
trampoline.sh

index 02a84f0618735c1535937b44b8dad11589ea19fa..bdca840d809576412d1edf0424505c34719bf02b 100644 (file)
@@ -129,6 +129,9 @@ AC_DEFUN([CY_TEST_FLAG], [
 AX_CFLAGS_WARN_ALL
 AX_CXXFLAGS_WARN_ALL
 
+dnl XXX: this is used to support GNU Objective-C struct objc_method
+CY_TEST_FLAG([-Wno-deprecated-declarations])
+
 CY_TEST_FLAG([-Wno-dangling-else])
 CY_TEST_FLAG([-Wno-overloaded-virtual])
 CY_TEST_FLAG([-Wno-parentheses])
index ff0720cb2168e88145eae10e23ecdc15fc6e5225..13248f9393da63ab725bd8a2dc5fc3b462a1cfbf 100755 (executable)
@@ -105,7 +105,7 @@ for arch in "${archs[@]}"; do
     echo "*/"
 
     echo
-    echo "static Trampoline ${name}_${arch}_ = {"
+    echo "_disused static Trampoline ${name}_${arch}_ = {"
     echo "    ${name}_${arch}_data_,"
     echo "    sizeof(${name}_${arch}_data_),"
     echo "    ${name}_${arch}_entry_,"