add gcc 4.2.x to the list of compilers broken with -Os.
b=409803
--- a/configure.in
+++ b/configure.in
@@ -1742,18 +1742,18 @@ case "$target" in
MIPSPRO_CXX=1
fi
;;
*-*linux*)
if test "$GNU_CC"; then
GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'`
case $GCC_VERSION in
- 4.1.*)
- # -Os is broken on gcc 4.1.x, we need to tweak it to get good results.
+ 4.1.*|4.2.*)
+ # -Os is broken on gcc 4.1.x and 4.2.x, we need to tweak it to get good results.
MOZ_OPTIMIZE_SIZE_TWEAK="-finline-limit=50"
esac
fi
TARGET_NSPR_MDCPUCFG='\"md/_linux.cfg\"'
MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-reorder-functions $MOZ_OPTIMIZE_SIZE_TWEAK"
MOZ_DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb,
# and that combo is not yet good at