mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 07:10:21 +00:00
configure: Add stdlib.h #include to CPPFLAGS check helper functions
This ensures that added CPPFLAGS are validated against libc headers.
This commit is contained in:
parent
f7ec7f546f
commit
0ce3761c78
4
configure
vendored
4
configure
vendored
@ -872,7 +872,7 @@ check_code(){
|
||||
check_cppflags(){
|
||||
log check_cppflags "$@"
|
||||
check_cpp "$@" <<EOF && append CPPFLAGS "$@"
|
||||
int x;
|
||||
#include <stdlib.h>;
|
||||
EOF
|
||||
}
|
||||
|
||||
@ -1166,7 +1166,7 @@ check_host_cpp(){
|
||||
check_host_cppflags(){
|
||||
log check_host_cppflags "$@"
|
||||
check_host_cpp "$@" <<EOF && append host_cppflags "$@"
|
||||
int x;
|
||||
#include <stdlib.h>;
|
||||
EOF
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user