mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
bug 423261 - Build failure when gcc was compiled with some option that contains "version", r=ted a1.9=beltzner
This commit is contained in:
parent
8a952a0aab
commit
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.
|
||||
|
Loading…
Reference in New Issue
Block a user