Skip to content

Commit

Permalink
Removed free-bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed Feb 9, 2016
1 parent 8ee6c73 commit 0c81a54
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
29 changes: 0 additions & 29 deletions build_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,32 +107,3 @@ def gem_config(conf)

gem_config(conf)
end

MRuby::CrossBuild.new('x86_64-pc-freebsd7') do |conf|
toolchain :gcc

[conf.cc, conf.cxx, conf.linker].each do |cc|
cc.flags << "-Wl,--no-as-needed"
cc.flags << "-ldl"
end

conf.build_target = 'x86_64-pc-linux-gnu'
conf.host_target = 'x86_64-pc-freebsd7'

gem_config(conf)
end

MRuby::CrossBuild.new('i686-pc-freebsd7') do |conf|
toolchain :gcc

[conf.cc, conf.cxx, conf.linker].each do |cc|
cc.flags << "-m32"
cc.flags << "-Wl,--no-as-needed"
cc.flags << "-ldl"
end

conf.build_target = 'i686-pc-linux-gnu'
conf.host_target = 'i686-pc-freebsd7'

gem_config(conf)
end
2 changes: 0 additions & 2 deletions extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
when /^i\d86-Mac OS X/ then "mruby/build/x86_64-apple-darwin14/bin/mjruby"
when /^x86-Windows/ then "mruby/build/i686-w64-mingw32/bin/mjruby.exe"
when /^(amd64|x86_64)-Windows/ then "mruby/build/x86_64-w64-mingw32/bin/mjruby.exe"
when /^x86-FreeBSD/ then "mruby/build/i686-pc-freebsd7/bin/mjruby"
when /^(amd64|x86_64)-FreeBSD/ then "mruby/build/x86_64-pc-freebsd7/bin/mjruby"
else nil
raise "Could not find appropriate architecture for '#{arch}'"
end
Expand Down
2 changes: 0 additions & 2 deletions mjruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Gem::Specification.new do |spec|
"x86_64-apple-darwin14",
"i686-pc-linux-gnu",
"x86_64-pc-linux-gnu",
"i686-pc-freebsd7",
"x86_64-pc-freebsd7",
].map {|p| "#{p}/bin/mjruby"} +
["i686-w64-mingw32",
"x86_64-w64-mingw32"
Expand Down

0 comments on commit 0c81a54

Please sign in to comment.