mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-05 10:08:08 +00:00
FS-8623: Fix libvpx Solaris Studio build
This commit is contained in:
parent
3fca86c81f
commit
6ae15b9fa1
@ -317,10 +317,20 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_cflags() {
|
check_cflags() {
|
||||||
log check_cflags "$@"
|
log check_cflags "$@"
|
||||||
check_cc -Werror "$@" <<EOF
|
|
||||||
|
case "$CC" in
|
||||||
|
*gcc*|*clang)
|
||||||
|
check_cc -Werror "$@" <<EOF
|
||||||
int x;
|
int x;
|
||||||
EOF
|
EOF
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
check_cc "$@" <<EOF
|
||||||
|
int x;
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
check_cxxflags() {
|
check_cxxflags() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user