diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-02-23 18:29:37 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-02-23 18:29:37 +0900 |
| commit | 31f1b4a553c4c887c2435440e044f79eceb4dc4c (patch) | |
| tree | 9a4a7ee47d6b6a8f6be1d1254b6b136879a31f98 /tasks/toolchains/gcc.rake | |
| parent | f5cfb77078994dfbe35ef264df7e8f52cffb4a5d (diff) | |
| download | mruby-31f1b4a553c4c887c2435440e044f79eceb4dc4c.tar.gz mruby-31f1b4a553c4c887c2435440e044f79eceb4dc4c.zip | |
Remove explicit set of `DISABLE_GEMS`
`DISABLE_GEMS` is automatically set (or unset); ref #790
Diffstat (limited to 'tasks/toolchains/gcc.rake')
| -rw-r--r-- | tasks/toolchains/gcc.rake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tasks/toolchains/gcc.rake b/tasks/toolchains/gcc.rake index 4929811c4..2d1e70e6e 100644 --- a/tasks/toolchains/gcc.rake +++ b/tasks/toolchains/gcc.rake @@ -2,7 +2,6 @@ MRuby::Toolchain.new(:gcc) do |conf, _params| [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 -Wwrite-strings -Wundef)] - cc.defines = %w(DISABLE_GEMS) cc.option_include_path = '-I%s' cc.option_define = '-D%s' cc.compile_options = '%{flags} -MMD -o %{outfile} -c %{infile}' @@ -13,7 +12,6 @@ MRuby::Toolchain.new(:gcc) do |conf, _params| [conf.cxx].each do |cxx| cxx.command = ENV['CXX'] || 'g++' cxx.flags = [ENV['CXXFLAGS'] || ENV['CFLAGS'] || %w(-g -O3 -Wall -Werror-implicit-function-declaration -Wundef)] - cxx.defines = %w(DISABLE_GEMS) cxx.option_include_path = '-I%s' cxx.option_define = '-D%s' cxx.compile_options = '%{flags} -MMD -o %{outfile} -c %{infile}' |
