Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 0e36b0e5f522bd77b2d863063cc114560179fa6c..2d9ba173d1c5cdbd6d09868ecfc767aa3fd47303 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -35,7 +35,6 @@ |
'component%': 'static_library', |
'make_clang_dir%': '../third_party/llvm-build/Release+Asserts', |
'clang_xcode%': 0, |
- 'visibility%': 'hidden', |
'v8_enable_backtrace%': 0, |
'v8_enable_i18n_support%': 1, |
'v8_deprecation_warnings': 1, |
@@ -46,7 +45,7 @@ |
'variables': { |
'conditions': [ |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ |
- OS=="netbsd" or OS=="mac" or OS=="qnx"', { |
+ OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', { |
# This handles the Unix platforms we generally deal with. |
# Anything else gets passed through, which probably won't work |
# very well; such hosts should pass an explicit target_arch |
@@ -54,7 +53,7 @@ |
'host_arch%': '<!pymod_do_main(detect_v8_host_arch)', |
}, { |
# OS!="linux" and OS!="freebsd" and OS!="openbsd" and |
- # OS!="netbsd" and OS!="mac" |
+ # OS!="netbsd" and OS!="mac" and OS!="aix" |
'host_arch%': 'ia32', |
}], |
], |
@@ -151,6 +150,11 @@ |
}, { |
'clang%': 0, |
}], |
+ ['OS=="aix"', { |
+ 'visibility%': '', |
Sven Panne
2015/01/27 11:47:05
What's the reason for this special case?
michael_dawson
2015/01/29 00:08:29
It seems to have been added when we added the -gxc
|
+ }, { |
+ 'visibility%': 'hidden', |
+ }], |
], |
# Default ARM variable settings. |
'arm_version%': 'default', |
@@ -183,6 +187,9 @@ |
'_GLIBCXX_DEBUG' |
], |
}], |
+ [ 'OS=="aix"', { |
+ 'cflags': [ '-gxcoff' ], |
+ }], |
], |
}, |
'Optdebug': { |
@@ -284,7 +291,7 @@ |
}, |
}], |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
- or OS=="netbsd"', { |
+ or OS=="netbsd" or OS=="aix"', { |
'target_defaults': { |
'cflags': [ |
'-Wall', |
@@ -301,6 +308,9 @@ |
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], |
'ldflags': [ '-pthread', ], |
'conditions': [ |
+ [ 'host_arch=="ppc64"', { |
+ 'cflags': [ '-mminimal-toc' ], |
+ }], |
[ 'visibility=="hidden" and v8_enable_backtrace==0', { |
'cflags': [ '-fvisibility=hidden' ], |
}], |