[FFmpeg-cvslog] configure: fix --cpu=host with gcc 4.6
Mans Rullgard
git at videolan.org
Mon Jul 11 05:52:41 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul 10 16:17:55 2011 +0100| [b695256eddf2b3608e6f8da4663d31dcf96612af] | committer: Mans Rullgard
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 at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b695256eddf2b3608e6f8da4663d31dcf96612af
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index f5b4a5c..02bcd09 100755
--- a/configure
+++ b/configure
@@ -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
More information about the ffmpeg-cvslog
mailing list