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