diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-11-01 16:12:57 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-11-01 16:12:57 +0800 |
| commit | cdb72a05a294eb8521dd40c011160228496312cb (patch) | |
| tree | 283586ad23f2dc6dfd1fd1aaa354f18c23d8c0d6 /cmake/modules | |
| parent | 88dfaf19aa0808f78d13133d61ea433d043923f9 (diff) | |
| parent | 57910ca5353e1feba1fb069a876b84a52f33d39f (diff) | |
| download | mruby-cdb72a05a294eb8521dd40c011160228496312cb.tar.gz mruby-cdb72a05a294eb8521dd40c011160228496312cb.zip | |
Merge remote-tracking branch 'upstream/master' into mrbgems
Diffstat (limited to 'cmake/modules')
| -rw-r--r-- | cmake/modules/IntrospectSystem.cmake | 2 |
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") |
