aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-06 11:01:51 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-06 11:01:51 -0400
commitde7e88c38fcaa37c98c2425be341568e8e193ffc (patch)
treee6876856a8dfd79f0693c26b90563578db1e1c65 /CMakeLists.txt
parent1a1991371a4f579e815146e4ec739f80693fa2bc (diff)
downloadzig-de7e88c38fcaa37c98c2425be341568e8e193ffc.tar.gz
zig-de7e88c38fcaa37c98c2425be341568e8e193ffc.zip
build: remove -Wmissing-prototypes
this causes errors with llvm's own h files which we have no control over.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dce9a90f4..8781167245 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -177,7 +177,7 @@ if(MINGW)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wno-error=format= -Wno-error=format -Wno-error=format-extra-args")
endif()
-set(EXE_CFLAGS "-std=c++11 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__USE_MINGW_ANSI_STDIO -Werror=strict-prototypes -Werror=old-style-definition -Werror=missing-prototypes")
+set(EXE_CFLAGS "-std=c++11 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__USE_MINGW_ANSI_STDIO -Werror=strict-prototypes -Werror=old-style-definition")
set(EXE_LDFLAGS " ")
if(ZIG_TEST_COVERAGE)
set(EXE_CFLAGS "${EXE_CFLAGS} -fprofile-arcs -ftest-coverage")