diff options
| author | Masaki Muranaka <[email protected]> | 2014-06-09 22:43:42 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2014-06-09 22:46:35 +0900 |
| commit | 9601777893a7a4b3b88c70916b7995e83db2ba57 (patch) | |
| tree | 1a306a2611933ef798bd6ae62d8dbb96522c3622 | |
| parent | e070fce835601ef9ff8d6fac8f7b16ff1a12cc54 (diff) | |
| download | mruby-9601777893a7a4b3b88c70916b7995e83db2ba57.tar.gz mruby-9601777893a7a4b3b88c70916b7995e83db2ba57.zip | |
Add ".s" to source extensions.
It uses ".s" as the source for assembler on some toolchains including GCC.
| -rw-r--r-- | tasks/mrbgem_spec.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 0c4dc85c0..a367e0dbb 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -58,13 +58,13 @@ module MRuby @linker = LinkerConfig.new([], [], [], []) @rbfiles = Dir.glob("#{dir}/mrblib/*.rb").sort - @objs = Dir.glob("#{dir}/src/*.{c,cpp,cxx,cc,m,asm,S}").map do |f| + @objs = Dir.glob("#{dir}/src/*.{c,cpp,cxx,cc,m,asm,s,S}").map do |f| objfile(f.relative_path_from(@dir).to_s.pathmap("#{build_dir}/%X")) end @objs << objfile("#{build_dir}/gem_init") @test_rbfiles = Dir.glob("#{dir}/test/*.rb") - @test_objs = Dir.glob("#{dir}/test/*.{c,cpp,cxx,cc,m,asm,S}").map do |f| + @test_objs = Dir.glob("#{dir}/test/*.{c,cpp,cxx,cc,m,asm,s,S}").map do |f| objfile(f.relative_path_from(dir).to_s.pathmap("#{build_dir}/%X")) end @test_preload = nil # 'test/assert.rb' |
