mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1077549 - Only support gcc 4.6+. r=glandium
This commit is contained in:
parent
cd246ac793
commit
4a203db537
@ -59,12 +59,8 @@ 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
|
||||
|
||||
|
@ -101,9 +101,9 @@ AC_SUBST(CLANG_CXX)
|
||||
AC_SUBST(CLANG_CL)
|
||||
|
||||
if test -n "$GNU_CC" -a -z "$CLANG_CC" ; then
|
||||
if test "$GCC_MAJOR_VERSION" -eq 4 -a "$GCC_MINOR_VERSION" -lt 4 ||
|
||||
if test "$GCC_MAJOR_VERSION" -eq 4 -a "$GCC_MINOR_VERSION" -lt 6 ||
|
||||
test "$GCC_MAJOR_VERSION" -lt 4; then
|
||||
AC_MSG_ERROR([Only GCC 4.4 or newer supported])
|
||||
AC_MSG_ERROR([Only GCC 4.6 or newer supported])
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user