FS-8623: reapply after update: Fix libvpx Solaris Studio build
This commit is contained in:
parent
07073175ee
commit
ea463a615e
|
@ -332,10 +332,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() {
|
||||
|
|
Loading…
Reference in New Issue