From 753ed7640594bf88fd7a1f693fde9e08d581631b Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Mon, 27 Aug 2007 12:02:12 +0000 Subject: Bug 339924 – pygobject doesn't compile on opensolaris MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=696 --- ChangeLog | 3 +++ configure.ac | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a188983..90989a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-08-27 Gustavo J. A. M. Carneiro + * configure.ac: Don't add -std=c9x CFLAG on Solaris. Fixes + #339924 again. + * gobject/pygtype.c (pyg_type_wrapper_repr): Typecast self->type to (unsigned long int) to fix a compilation warning. diff --git a/configure.ac b/configure.ac index cee4a21..60224ac 100644 --- a/configure.ac +++ b/configure.ac @@ -141,8 +141,16 @@ AC_SUBST(FFI_LIBS) dnl add required cflags ... if test "x$GCC" = "xyes"; then JH_ADD_CFLAG([-Wall]) - JH_ADD_CFLAG([-std=c9x]) JH_ADD_CFLAG([-fno-strict-aliasing]) + + case $host_os in + solaris*) + ;; + *) + JH_ADD_CFLAG([-std=c9x]) + ;; + esac + fi AC_CONFIG_FILES( -- cgit