From abf70e29fabf13621171a7aca909e48a50f39ef4 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sat, 7 Jul 2007 13:57:59 +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=685 --- ChangeLog | 6 ++++++ configure.ac | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a13334..b8223c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-07 Damien Carbery + + reviewed by: Gustavo Carneiro. + + * configure.ac: Bug 339924 – pygobject doesn't compile on opensolaris. + 2007-04-30 Johannes Hölzl * gobject/gobjectmodule.c (init_gobjectmodule), diff --git a/configure.ac b/configure.ac index d0f32a1..d009aca 100644 --- a/configure.ac +++ b/configure.ac @@ -139,9 +139,11 @@ AM_CONDITIONAL(HAVE_LIBFFI, test "$pygobject_ffi_h" = "yes") AC_SUBST(FFI_LIBS) dnl add required cflags ... -JH_ADD_CFLAG([-Wall]) -JH_ADD_CFLAG([-std=c9x]) -JH_ADD_CFLAG([-fno-strict-aliasing]) +if test "x$GCC" = "xyes"; then + JH_ADD_CFLAG([-Wall]) + JH_ADD_CFLAG([-std=c9x]) + JH_ADD_CFLAG([-fno-strict-aliasing]) +fi AC_CONFIG_FILES( Makefile -- cgit