summaryrefslogtreecommitdiffhomepage
path: root/cmake/modules/IntrospectSystem.cmake
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-10-16 20:54:16 +0900
committerYukihiro Matsumoto <[email protected]>2012-10-16 20:54:16 +0900
commite7ff2bf72e172f7a4a30812d7f77323a48e799d3 (patch)
tree4fb833187300af8a66745cf3ed7887aa10e85970 /cmake/modules/IntrospectSystem.cmake
parent76f28241f1a6eb76070d470779fc17d43ca838e3 (diff)
parent019fd70f1b8ca08aea35e08ff0078cc4a7654f8a (diff)
downloadmruby-e7ff2bf72e172f7a4a30812d7f77323a48e799d3.tar.gz
mruby-e7ff2bf72e172f7a4a30812d7f77323a48e799d3.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'cmake/modules/IntrospectSystem.cmake')
-rw-r--r--cmake/modules/IntrospectSystem.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/IntrospectSystem.cmake b/cmake/modules/IntrospectSystem.cmake
index e148563fa..722f4c3d7 100644
--- a/cmake/modules/IntrospectSystem.cmake
+++ b/cmake/modules/IntrospectSystem.cmake
@@ -2,7 +2,7 @@
# initial system defaults
if(CMAKE_COMPILER_IS_GNUCC)
- set(MRUBY_DEFAULT_CFLAGS "-Wall -Werror-implicit-function-declaration")
+ set(MRUBY_DEFAULT_CFLAGS "-std=gnu99 -Wall -Werror-implicit-function-declaration -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-missing-field-initializers -Wformat=2 -Wstrict-aliasing=2 -Wdisabled-optimization -Wpointer-arith -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wredundant-decls")
set(CMAKE_C_FLAGS "${MRUBY_DEFAULT_CFLAGS}")
set(CMAKE_C_FLAGS_DEBUG "-O3 -ggdb")
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG")