diff --git a/configure.in b/configure.in index 8b38282bc9..9c22241907 100644 --- a/configure.in +++ b/configure.in @@ -1857,6 +1857,12 @@ ia64*-hpux*) XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/lib -lxpcom -lmozalloc' DLL_PREFIX= IMPORT_LIB_SUFFIX=dll.a + GCC_VERSION=`$CC -v 2>&1 | awk '/^gcc version/ { print $3 }'` + + # We use mix of both POSIX and Win32 printf format across the tree, + # so format warnings are useless on mingw. + MOZ_C_SUPPORTS_WARNING(-Wno-, format, ac_c_has_wno_format) + MOZ_CXX_SUPPORTS_WARNING(-Wno-, format, ac_cxx_has_wno_format) else TARGET_COMPILER_ABI=msvc HOST_CC='$(CC)'