diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-04-19 08:21:51 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-04-19 08:21:51 +0900 |
| commit | 0f31f16015dfa001381fa642a9e62ee2077dc020 (patch) | |
| tree | fab0efa5faa38451f79c276722d928d01ba47a67 /tasks | |
| parent | e79afd4c74a9677610ab95805fd0ffa4507410c7 (diff) | |
| parent | 09419874c8018830a53db1f5bec3ecadcb26c815 (diff) | |
| download | mruby-0f31f16015dfa001381fa642a9e62ee2077dc020.tar.gz mruby-0f31f16015dfa001381fa642a9e62ee2077dc020.zip | |
Merge pull request #2768 from kou/suppress-write-strings-warnings
Suppress warnings generated by -Wwrite-strings
Diffstat (limited to 'tasks')
| -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 7edf93642..fb1455812 100644 --- a/tasks/toolchains/gcc.rake +++ b/tasks/toolchains/gcc.rake @@ -1,7 +1,7 @@ MRuby::Toolchain.new(:gcc) do |conf| [conf.cc, conf.objc, conf.asm].each do |cc| cc.command = ENV['CC'] || 'gcc' - cc.flags = [ENV['CFLAGS'] || %w(-g -std=gnu99 -O3 -Wall -Werror-implicit-function-declaration -Wdeclaration-after-statement)] + cc.flags = [ENV['CFLAGS'] || %w(-g -std=gnu99 -O3 -Wall -Werror-implicit-function-declaration -Wdeclaration-after-statement -Wwrite-strings)] cc.defines = %w(DISABLE_GEMS) cc.option_include_path = '-I%s' cc.option_define = '-D%s' |
