Merge "Avoid unknown warning warnings and fix -Werror on macosx."
This commit is contained in:
commit
2e3ed02c6d
@ -327,7 +327,7 @@ EOF
|
||||
|
||||
check_cflags() {
|
||||
log check_cflags "$@"
|
||||
check_cc "$@" <<EOF
|
||||
check_cc -Werror "$@" <<EOF
|
||||
int x;
|
||||
EOF
|
||||
}
|
||||
@ -341,7 +341,7 @@ check_cxxflags() {
|
||||
int x;
|
||||
EOF
|
||||
;;
|
||||
*) check_cxx "$@" <<EOF
|
||||
*) check_cxx -Werror "$@" <<EOF
|
||||
int x;
|
||||
EOF
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user