Merge pull request #846 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-8623-solaris-studio-build-error to master
* commit '6ae15b9fa1ae4f636e7bb4d1459671a6b1606f9e': FS-8623: Fix libvpx Solaris Studio build
This commit is contained in:
commit
8b597dbe30
|
@ -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…
Reference in New Issue