summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/gyp_webkit
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/gyp_webkit')
-rwxr-xr-xSource/WebKit/chromium/gyp_webkit3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/gyp_webkit b/Source/WebKit/chromium/gyp_webkit
index 36f0f431b..fb720d97a 100755
--- a/Source/WebKit/chromium/gyp_webkit
+++ b/Source/WebKit/chromium/gyp_webkit
@@ -87,6 +87,9 @@ if __name__ == '__main__':
envsetup_location = os.path.join(chrome_src, 'build', 'android', 'envsetup.sh')
exit(subprocess.call(['bash', '-c', 'source %s && python gyp_webkit --no-envsetup-recursion %s' % (envsetup_location, ' '.join(args))]))
else:
+ # FIXME: v8 requires the CXX_target variable to determine whether -m32 should be
+ # set. The current Android build set-up is not sustainable and breaks too often.
+ os.environ['CXX_target'] = glob.glob('%s/*-g++' % os.environ.get('ANDROID_TOOLCHAIN'))[0]
args.remove('--no-envsetup-recursion')
# Add includes.