Bug 1073003 - Enable warnings-as-errors on B2G (for gcc >= 4.4). r=glandium

--HG--
extra : rebase_source : 07c51a7d15aaa6c5d1f8447961d511aa6136092c
This commit is contained in:
Botond Ballo 2014-12-17 14:09:54 -05:00
parent ddc90d3afc
commit cef79941bd

View File

@ -59,6 +59,11 @@ MOZ_B2G=1
if test "$OS_TARGET" = "Android"; then
MOZ_NUWA_PROCESS=1
MOZ_B2G_LOADER=1
# Warnings-as-errors cannot be enabled on gcc <= 4.4 due to bug 915555.
if test "$GCC_MAJOR_VERSION" -gt 4 -o \
"$GCC_MAJOR_VERSION" -eq 4 -a "$GCC_MINOR_VERSION" -gt 4; then
MOZ_ENABLE_WARNINGS_AS_ERRORS=1
fi
fi
MOZ_JSDOWNLOADS=1