Status: New
Owner: ----
New issue 2482 by [email protected]: Add build flags that are needed for
pyv8
http://code.google.com/p/v8/issues/detail?id=2482
Before building pyv8, it patches v8. Can the changes that it makes via
patch be included in v8 somehow and end up as compile time make options?
Perhaps something like "rtti=on" and "exceptions=on"
and "runtimetypeinfo=on"?
This is a diff of what pyv8 changes before it builds its private build:
--- /root/v8/build/standalone.gypi 2013-01-10 15:33:56.000000000 -0500
+++ v8/build/standalone.gypi 2013-01-10 17:52:22.000000000 -0500
@@ -65,7 +65,7 @@
'host_arch%': '<(host_arch)',
'target_arch%': '<(target_arch)',
'v8_target_arch%': '<(v8_target_arch)',
- 'werror%': '-Werror',
+ 'werror%': '',
'conditions': [
['(v8_target_arch=="arm" and host_arch!="arm") or \
(v8_target_arch=="mipsel" and host_arch!="mipsel") or \
@@ -94,7 +94,8 @@
or OS=="netbsd"', {
'target_defaults': {
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
- '-Wnon-virtual-dtor', '-pthread', '-pedantic' ],
+ '-Wnon-virtual-dtor', '-pthread', '',
+ '', '-pedantic' ],
'ldflags': [ '-pthread', ],
'conditions': [
[ 'OS=="linux"', {
@@ -183,14 +184,14 @@
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
# (Equivalent to -fPIC)
- 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fno-exceptions
- 'GCC_ENABLE_CPP_RTTI': 'YES', # -fno-rtti
+ 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', #
+ 'GCC_ENABLE_CPP_RTTI': 'YES', #
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
# GCC_INLINES_ARE_PRIVATE_EXTERN maps to
-fvisibility-inlines-hidden
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
'GCC_THREADSAFE_STATICS': 'NO', #
-fno-threadsafe-statics
- 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', #
'GCC_VERSION': '4.2',
'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
# MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev