Bug 802343 - Port |Bug 557000 - Correctly set GCC_VERSION on mingw| and |Bug 797793 - Disable format warnings on mingw| to comm-central r=Callek
This commit is contained in:
Родитель
58ea1eaa99
Коммит
2fae3820b0
|
@ -1857,6 +1857,12 @@ ia64*-hpux*)
|
||||||
XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/lib -lxpcom -lmozalloc'
|
XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/lib -lxpcom -lmozalloc'
|
||||||
DLL_PREFIX=
|
DLL_PREFIX=
|
||||||
IMPORT_LIB_SUFFIX=dll.a
|
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
|
else
|
||||||
TARGET_COMPILER_ABI=msvc
|
TARGET_COMPILER_ABI=msvc
|
||||||
HOST_CC='$(CC)'
|
HOST_CC='$(CC)'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче