Commit b4f95c96 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '23157d72'

* commit '23157d72':
  configure: Split test_cflags function off from check_cflags
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 02223f4d 23157d72
......@@ -857,14 +857,19 @@ int x;
EOF
}
check_cflags(){
log check_cflags "$@"
test_cflags(){
log test_cflags "$@"
set -- $($cflags_filter "$@")
check_cc "$@" <<EOF && append CFLAGS "$@"
check_cc "$@" <<EOF
int x;
EOF
}
check_cflags(){
log check_cflags "$@"
test_cflags "$@" && add_cflags "$@"
}
check_cxxflags(){
log check_cxxflags "$@"
set -- $($cflags_filter "$@")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment