mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-04 20:26:01 +00:00
FS-8623: reapply after update: Fix libvpx Solaris Studio build
This commit is contained in:
parent
07073175ee
commit
ea463a615e
@ -333,9 +333,19 @@ EOF
|
|||||||
|
|
||||||
check_cflags() {
|
check_cflags() {
|
||||||
log check_cflags "$@"
|
log check_cflags "$@"
|
||||||
|
|
||||||
|
case "$CC" in
|
||||||
|
*gcc*|*clang)
|
||||||
check_cc -Werror "$@" <<EOF
|
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