diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-10 19:17:55 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-10 20:56:06 +0400 |
commit | b695256eddf2b3608e6f8da4663d31dcf96612af (patch) | |
tree | f4967ff3487c837a9ca8fc53b09e4c279b4f2b45 /configure | |
parent | 11043d80f60ca37330f5f1afb8ee956665a71290 (diff) |
configure: fix --cpu=host with gcc 4.6
The output from -v with gcc 4.6 has changed such that the search
pattern matches too soon without making it more strict.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2103,7 +2103,7 @@ if test "$cpu" = host; then gcc|llvm_gcc) check_native(){ $cc $1=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return - sed -n "/$1=/{ + sed -n "/cc1.*$1=/{ s/.*$1=\\([^ ]*\\).*/\\1/ p q |