[llvm-commits] [llvm-commit][llvm-gcc]Patches from Scott Michel to build on older system

Jim Laskey jlaskey at apple.com
Mon Dec 18 12:24:07 PST 2006


Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h	(revision 121525)
+++ gcc/config/darwin.h	(working copy)
@@ -433,8 +433,8 @@
     %{Zinit*:-init %*} \
"/* APPLE LOCAL mainline 2005-09-01 3449986 */"\
     %{mmacosx-version-min=*:-macosx_version_min %*} \
-"/* APPLE LOCAL mainline 2006-03-15 3992198 */"\
-   %{!mmacosx-version-min=*:%{shared-libgcc:-macosx_version_min  
10.3}} \
+"/* APPLE LOCAL mainline 2006-03-15 3992198 *//* "\
+   %{!mmacosx-version-min=*:%{shared-libgcc:-macosx_version_min  
10.3}} \ */"\
     %{nomultidefs} \
     %{Zmulti_module:-multi_module} %{Zsingle_module:-single_module} \
     %{Zmultiply_defined*:-multiply_defined %*} \
Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 121525)
+++ gcc/configure.ac	(working copy)
@@ -1323,6 +1323,7 @@
      AC_CACHE_CHECK([whether mcontext_t fields have underscores],
        gcc_cv_mcontext_underscores,
        AC_COMPILE_IFELSE([
+#include <sys/signal.h>
#include <ucontext.h>
int main() { mcontext_t m; if (m->ss.srr0) return 0; return 0; }
],

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20061218/8115c0d1/attachment.bin>


More information about the llvm-commits mailing list