mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 23:38:39 +00:00
FS-8623: Fix libvpx Solaris Studio build
This commit is contained in:
1 parent
3fca86c81f
commit
6ae15b9fa1
1 file changed
+12
-2
@@ -317,10 +317,20 @@ EOF
|
||||
}
|
||||
|
||||
check_cflags() {
|
||||
log check_cflags "$@"
|
||||
check_cc -Werror "$@" <<EOF
|
||||
log check_cflags "$@"
|
||||
|
||||
case "$CC" in
|
||||
*gcc*|*clang)
|
||||
check_cc -Werror "$@" <<EOF
|
||||
int x;
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
check_cc "$@" <<EOF
|
||||
int x;
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
check_cxxflags() {
|
||||
|
||||
Reference in new issue
Block a user