mirror of
https://github.com/rubyjs/mini_racer
synced 2023-03-27 23:21:28 -04:00
Fix build on macOS High Sierra
This commit is contained in:
parent
247acbf217
commit
205dcfe389
1 changed files with 1 additions and 0 deletions
|
@ -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