Skip to content

Commit

Permalink
disable RTTI in Ninja build
Browse files Browse the repository at this point in the history
Added `-fno-rtti` flag to build with recent V8 version.
  • Loading branch information
pmed committed Jun 16, 2018
1 parent 516b751 commit 8944b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ninja
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cxx = c++
cxxflags = -Wall -Wextra -Wno-return-type-c-linkage -std=c++11 -fPIC -I. -I./v8pp -isystem./v8/include -isystem./v8 -DV8PP_ISOLATE_DATA_SLOT=0
ldflags = -L./v8/lib -lv8 -lv8_libplatform -lv8_base -lv8_libbase -licui18n -licuuc -L. -lv8pp -ldl -lpthread
cxxflags = -Wall -Wextra -Wno-return-type-c-linkage -std=c++11 -fPIC -fno-rtti -I. -I./v8pp -DV8PP_ISOLATE_DATA_SLOT=0
ldflags = -lv8 -lv8_libplatform -lv8_libbase -L. -lv8pp -ldl -lpthread

rule cxx
command = $cxx $cxxflags -c $in -o $out
Expand Down

0 comments on commit 8944b49

Please sign in to comment.