зеркало из https://github.com/mozilla/gecko-dev.git
bug 423261 - Build failure when gcc was compiled with some option that contains "version", r=ted a1.9=beltzner
This commit is contained in:
Родитель
8a952a0aab
Коммит
2dff790632
|
@ -1745,7 +1745,7 @@ case "$target" in
|
|||
|
||||
*-*linux*)
|
||||
if test "$GNU_CC"; then
|
||||
GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'`
|
||||
GCC_VERSION=`$CC -v 2>&1 | awk '/^gcc version/ { print $3 }'`
|
||||
case $GCC_VERSION in
|
||||
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче