[build] Fix x87 support in GN configs
Explicitly set gcc as it's derived in gyp. Bug: chromium:645890 Change-Id: Ibe77ab10b9ce705bdb650b14e212c55b0a9154ba Reviewed-on: https://chromium-review.googlesource.com/552638 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Zhengxing Li <zhengxing.li@intel.com> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#46295}
This commit is contained in:
parent
5e62c1fba3
commit
4234ac9e98
3
BUILD.gn
3
BUILD.gn
@ -439,6 +439,9 @@ config("toolchain") {
|
||||
ldflags += [ "/STACK:2097152" ]
|
||||
}
|
||||
}
|
||||
if (v8_current_cpu == "x87") {
|
||||
defines += [ "V8_TARGET_ARCH_X87" ]
|
||||
}
|
||||
if (is_android && v8_android_log_stdout) {
|
||||
defines += [ "V8_ANDROID_LOG_STDOUT" ]
|
||||
}
|
||||
|
@ -483,7 +483,7 @@
|
||||
|
||||
# Gyp debug configs for simulators.
|
||||
'gyp_debug_simulate_x87': [
|
||||
'gyp', 'debug_bot_static', 'simulate_x87', 'swarming'],
|
||||
'gyp', 'debug_bot_static', 'simulate_x87', 'gcc', 'swarming'],
|
||||
|
||||
# Gyp release configs for mips.
|
||||
'gyp_release_mips_no_snap_no_i18n': [
|
||||
|
Loading…
Reference in New Issue
Block a user