1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

allow using a custom compiler

This commit is contained in:
Charles Lowell 2015-07-12 14:05:26 -05:00
parent 78f507aa95
commit e1fbdb4162
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,9 @@ matrix:
- rvm: 1.9.3
- rvm: 1.9.2
- rvm: 1.8.7
env:
- CXX=g++-4.8
- CXX=clang++
notifications:
recipients:
- cowboyd@thefrontside.net

View file

@ -1,4 +1,5 @@
require 'mkmf'
RbConfig::MAKEFILE_CONFIG['CXX'] = ENV['CXX'] if ENV['CXX']
have_library('pthread')
have_library('objc') if RUBY_PLATFORM =~ /darwin/