mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: x86: improve ebp availability check
Some compilers are extra strict about register usage in main(), disallowing ebp in inline asm there while allowing it elsewhere. This change makes the test better reflect actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
714508bcb9
commit
692dd8ed26
5
configure
vendored
5
configure
vendored
@ -863,6 +863,9 @@ check_exec_crash(){
|
||||
static void sighandler(int sig){
|
||||
raise(SIGTERM);
|
||||
}
|
||||
int foo(void){
|
||||
$code
|
||||
}
|
||||
int main(void){
|
||||
signal(SIGILL, sighandler);
|
||||
signal(SIGFPE, sighandler);
|
||||
@ -870,7 +873,7 @@ int main(void){
|
||||
#ifdef SIGBUS
|
||||
signal(SIGBUS, sighandler);
|
||||
#endif
|
||||
{ $code }
|
||||
foo();
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user