diff options
| author | Yuichiro MASUI <[email protected]> | 2013-01-28 18:22:11 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2013-01-28 18:22:11 +0900 |
| commit | 5a152c82e640aa1c12e0bedded2233fcd9a8cf18 (patch) | |
| tree | 6df0d04a796d16d83248f48eb4f6396711aee0d9 /tasks/mruby_build_commands.rake | |
| parent | 0410bb7623a27ac427f190e3144c85b6446bec05 (diff) | |
| download | mruby-5a152c82e640aa1c12e0bedded2233fcd9a8cf18.tar.gz mruby-5a152c82e640aa1c12e0bedded2233fcd9a8cf18.zip | |
load MRUBY_CONFIG script after 'build_config.rb'
Diffstat (limited to 'tasks/mruby_build_commands.rake')
| -rw-r--r-- | tasks/mruby_build_commands.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake index 20203ad7e..98a216920 100644 --- a/tasks/mruby_build_commands.rake +++ b/tasks/mruby_build_commands.rake @@ -36,14 +36,14 @@ module MRuby def initialize(build, source_exts=[]) super(build) - @command = ENV['CC'] || 'gcc' + @command = ENV['CC'] || 'cc' @flags = [ENV['CFLAGS'] || []] @source_exts = source_exts @include_paths = ["#{build.root}/include"] @defines = %w(DISABLE_GEMS) @option_include_path = '-I%s' @option_define = '-D%s' - @compile_options = "%{flags} -MMD -o %{outfile} -c %{infile}" + @compile_options = '%{flags} -o %{outfile} -c %{infile}' end def all_flags(_defineds=[], _include_paths=[], _flags=[]) @@ -111,7 +111,7 @@ module MRuby def initialize(build) super - @command = ENV['LD'] || 'gcc' + @command = ENV['LD'] || 'ld' @flags = (ENV['LDFLAGS'] || []) @flags_before_libraries, @flags_after_libraries = [], [] @libraries = [] |
