Skip to content

Commit

Permalink
Add ".s" to source extensions.
Browse files Browse the repository at this point in the history
It uses ".s" as the source for assembler on some toolchains including GCC.
  • Loading branch information
monaka committed Jun 9, 2014
1 parent e070fce commit 9601777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/mrbgem_spec.rake
Expand Up @@ -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'
Expand Down

0 comments on commit 9601777

Please sign in to comment.