diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-21 17:05:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-21 17:05:16 +0900 |
| commit | 66d044ec3e8d9a3d242399a5ed5cb76bf02f6722 (patch) | |
| tree | 73a39cff610e7019ac1845e5de69276bea45f41d /tasks/toolchains | |
| parent | 734f6b1cc40f9397b3cca0ecfcd7e19ad683562a (diff) | |
| download | mruby-66d044ec3e8d9a3d242399a5ed5cb76bf02f6722.tar.gz mruby-66d044ec3e8d9a3d242399a5ed5cb76bf02f6722.zip | |
Remove `-Wdeclaration-after-statement` from gcc options; #5159
Diffstat (limited to 'tasks/toolchains')
| -rw-r--r-- | tasks/toolchains/gcc.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/toolchains/gcc.rake b/tasks/toolchains/gcc.rake index 34d747af5..316d2d9a1 100644 --- a/tasks/toolchains/gcc.rake +++ b/tasks/toolchains/gcc.rake @@ -2,7 +2,7 @@ MRuby::Toolchain.new(:gcc) do |conf, params| default_command = params[:default_command] || 'gcc' compiler_flags = %w(-g -O3 -Wall -Wundef) c_mandatory_flags = %w(-std=gnu99) - cxx_invalid_flags = %w(-Wdeclaration-after-statement -Werror-implicit-function-declaration) + cxx_invalid_flags = %w(-Werror-implicit-function-declaration) [conf.cc, conf.objc, conf.asm, conf.cxx].each do |compiler| if compiler == conf.cxx |
