mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
add gcc 4.2.x to the list of compilers broken with -Os. b=409803
This commit is contained in:
parent
323ca94360
commit
de7b5d0fe2
@ -1747,8 +1747,8 @@ case "$target" in
|
|||||||
if test "$GNU_CC"; then
|
if test "$GNU_CC"; then
|
||||||
GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'`
|
GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'`
|
||||||
case $GCC_VERSION in
|
case $GCC_VERSION in
|
||||||
4.1.*)
|
4.1.*|4.2.*)
|
||||||
# -Os is broken on gcc 4.1.x, we need to tweak it to get good results.
|
# -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"
|
MOZ_OPTIMIZE_SIZE_TWEAK="-finline-limit=50"
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user