diff options
Diffstat (limited to 'community/rethinkdb/build.diff')
-rw-r--r-- | community/rethinkdb/build.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/rethinkdb/build.diff b/community/rethinkdb/build.diff new file mode 100644 index 000000000..cb271712e --- /dev/null +++ b/community/rethinkdb/build.diff @@ -0,0 +1,20 @@ +diff --git a/mk/support.mk b/mk/support.mk +index 821695c..7f8f857 100644 +--- a/mk/support.mk ++++ b/mk/support.mk +@@ -185,9 +185,13 @@ $(V8_SRC_DIR): + $P MAKE v8 dependencies + $(EXTERN_MAKE) -C $(V8_SRC_DIR) dependencies $(SUPPORT_LOG_REDIRECT) + +-$(V8_INT_LIB): $(V8_INT_DIR) ++ ( cd $(TC_SRC_DIR) && \ ++ find v8 -type f -exec sed -e 's_^#!/usr/bin/env python$$_&2_; s_^#!/usr/bin/python$$_&2_' -i {} \; && \ ++ sed 's/\bpython\b/python2/' -i v8/Makefile v8/build/gyp/gyp ) $(SUPPORT_LOG_REDIRECT) ++ ++$(V8_INT_LIB): | $(V8_INT_DIR) + $P MAKE v8 +- $(EXTERN_MAKE) -C $(V8_INT_DIR) native CXXFLAGS=-Wno-array-bounds $(SUPPORT_LOG_REDIRECT) ++ $(EXTERN_MAKE) -C $(V8_INT_DIR) native CXXFLAGS='-Wno-error' $(SUPPORT_LOG_REDIRECT) + $P AR $@ + find $(V8_INT_DIR) -iname "*.o" | grep -v '\/preparser_lib\/' | xargs ar cqs $(V8_INT_LIB); + |