Merge commit '23157d72b565e0228fec97f1eb059d4f8021a260'
* commit '23157d72b565e0228fec97f1eb059d4f8021a260': configure: Split test_cflags function off from check_cflags Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b4f95c96a5
11
configure
vendored
11
configure
vendored
@ -857,14 +857,19 @@ int x;
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
check_cflags(){
|
test_cflags(){
|
||||||
log check_cflags "$@"
|
log test_cflags "$@"
|
||||||
set -- $($cflags_filter "$@")
|
set -- $($cflags_filter "$@")
|
||||||
check_cc "$@" <<EOF && append CFLAGS "$@"
|
check_cc "$@" <<EOF
|
||||||
int x;
|
int x;
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_cflags(){
|
||||||
|
log check_cflags "$@"
|
||||||
|
test_cflags "$@" && add_cflags "$@"
|
||||||
|
}
|
||||||
|
|
||||||
check_cxxflags(){
|
check_cxxflags(){
|
||||||
log check_cxxflags "$@"
|
log check_cxxflags "$@"
|
||||||
set -- $($cflags_filter "$@")
|
set -- $($cflags_filter "$@")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user