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
|
@ -318,9 +318,19 @@ EOF
|
|||
|
||||
check_cflags() {
|
||||
log check_cflags "$@"
|
||||
|
||||
case "$CC" in
|
||||
*gcc*|*clang)
|
||||
check_cc -Werror "$@" <<EOF
|
||||
int x;
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
check_cc "$@" <<EOF
|
||||
int x;
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
check_cxxflags() {
|
||||
|
|
Loading…
Reference in New Issue