This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
darwin9 build problem
- From: mrs at apple dot com (Mike Stump)
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Feb 2007 15:58:31 -0800 (PST)
- Subject: darwin9 build problem
This fixes a build problem on Leopard9A357, aka darwin9.
* configure.ac (powerpc*-*-darwin*): #include <sys/cdefs.h>.
* configure: Regenerate.
mrs $ mkdiff *~
Doing diffs in ChangeLog~:
--------------
Doing diffs in configure.ac.~1~:
--- configure.ac.~1~ 2007-02-21 15:53:43.000000000 -0800
+++ configure.ac 2007-02-20 19:00:40.000000000 -0800
@@ -1334,6 +1334,7 @@ case ${host} in
AC_CACHE_CHECK([whether mcontext_t fields have underscores],
gcc_cv_mcontext_underscores,
AC_COMPILE_IFELSE([
+#include <sys/cdefs.h>
#include <sys/signal.h>
#include <ucontext.h>
int main() { mcontext_t m; if (m->ss.srr0) return 0; return 0; }
--------------