mirror of
https://github.com/rubyjs/mini_racer
synced 2023-03-27 23:21:28 -04:00
Merge pull request #76 from sqreen/feature/darwin17
Fix build on macOS High Sierra (Darwin 17)
This commit is contained in:
commit
7be251df99
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,9 @@ rvm:
|
|||
- 2.5.0
|
||||
matrix:
|
||||
include:
|
||||
- rvm: 2.4.0
|
||||
os: osx
|
||||
osx_image: xcode9.2
|
||||
- rvm: 2.4.0
|
||||
os: osx
|
||||
osx_image: xcode8.2
|
||||
|
|
|
@ -9,6 +9,7 @@ $CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
|
|||
$CPPFLAGS += " -fPIC" unless $CPPFLAGS.split.include? "-rdynamic" or RUBY_PLATFORM =~ /darwin/
|
||||
$CPPFLAGS += " -std=c++0x"
|
||||
$CPPFLAGS += " -fpermissive"
|
||||
$CPPFLAGS += " -Wno-reserved-user-defined-literal" if RUBY_PLATFORM =~ /darwin/
|
||||
|
||||
$LDFLAGS.insert 0, " -stdlib=libstdc++ " if RUBY_PLATFORM =~ /darwin/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue