mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
28855e0065
commit
4137c96cb6
@ -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