summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-11-13 19:01:51 +0200
committerMartin Storsjö <martin@martin.st>2012-11-15 18:22:03 +0200
commit9eded0fe412e610ee8944681d5c554b723463e96 (patch)
tree295e88ca797d23401cc28ca34c843715e6c27537 /configure
parent116ae7285e2b5a9487b12c904b006c3c0063e83c (diff)
configure: Check for -Werror parameters on clang
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 261b0ac217..14a887eaa2 100755
--- a/configure
+++ b/configure
@@ -3549,6 +3549,8 @@ elif enabled llvm_gcc; then
elif enabled clang; then
check_cflags -mllvm -stack-alignment=16
check_cflags -Qunused-arguments
+ check_cflags -Werror=implicit-function-declaration
+ check_cflags -Werror=missing-prototypes
elif enabled armcc; then
# 2523: use of inline assembler is deprecated
add_cflags -W${armcc_opt},--diag_suppress=2523