--- pygobject-2.13.1/configure.ac.orig	2007-05-09 17:42:13.369181272 +0100
+++ pygobject-2.13.1/configure.ac	2007-05-09 17:43:17.470444014 +0100
@@ -139,9 +139,11 @@
 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
