mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1073003 - Enable warnings-as-errors on B2G (for gcc >= 4.4). r=glandium
--HG-- extra : rebase_source : 07c51a7d15aaa6c5d1f8447961d511aa6136092c
This commit is contained in:
parent
ddc90d3afc
commit
cef79941bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user