mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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>
This commit is contained in:
parent
11043d80f6
commit
b695256edd
2
configure
vendored
2
configure
vendored
@ -2103,7 +2103,7 @@ if test "$cpu" = host; then
|
|||||||
gcc|llvm_gcc)
|
gcc|llvm_gcc)
|
||||||
check_native(){
|
check_native(){
|
||||||
$cc $1=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return
|
$cc $1=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return
|
||||||
sed -n "/$1=/{
|
sed -n "/cc1.*$1=/{
|
||||||
s/.*$1=\\([^ ]*\\).*/\\1/
|
s/.*$1=\\([^ ]*\\).*/\\1/
|
||||||
p
|
p
|
||||||
q
|
q
|
||||||
|
Loading…
Reference in New Issue
Block a user