summaryrefslogtreecommitdiff
path: root/data/llvm-gcc/warning.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/llvm-gcc/warning.diff')
-rw-r--r--data/llvm-gcc/warning.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/llvm-gcc/warning.diff b/data/llvm-gcc/warning.diff
new file mode 100644
index 000000000..a3134e0ef
--- /dev/null
+++ b/data/llvm-gcc/warning.diff
@@ -0,0 +1,11 @@
+diff -ru llvm-gcc-4.2-47984/gcc/config/darwin.h llvm-gcc-4.2-47984+iPhone/gcc/config/darwin.h
+--- llvm-gcc-4.2-47984/gcc/config/darwin.h 2008-02-08 18:58:15.000000000 +0000
++++ llvm-gcc-4.2-47984+iPhone/gcc/config/darwin.h 2008-03-06 12:38:16.000000000 +0000
+@@ -1038,6 +1038,7 @@
+ /* Macros defining the various PIC cases. */
+
+ /* APPLE LOCAL mdynamic-no-pic */
++#undef MACHO_DYNAMIC_NO_PIC_P
+ #define MACHO_DYNAMIC_NO_PIC_P (TARGET_MACHO_DYNAMIC_NO_PIC)
+ /* APPLE LOCAL begin mach-o cleanup */
+ #undef MACHOPIC_INDIRECT