Commit a7bb84a4 authored by michael_dawson's avatar michael_dawson Committed by Commit bot

PPC: Force PPC linux to use gcc and gcc 4.8.3 changes for AIX

- We don't have clang for PPC, force use of gcc.
- Changes needed to compile/build on AIX with gcc 4.8.3 missed
from last review

	modified:   build/standalone.gypi

R=danno@chromium.org, svenpanne@chromium.org

BUG=

Review URL: https://codereview.chromium.org/1018543003

Cr-Commit-Position: refs/heads/master@{#27254}
parent cc3337c1
......@@ -86,7 +86,6 @@
'werror%': '-Werror',
'use_goma%': '<(use_goma)',
'gomadir%': '<(gomadir)',
'host_clang%': '1',
# .gyp files or targets should set v8_code to 1 if they build V8 specific
# code, as opposed to external code. This variable is used to control such
......@@ -152,6 +151,11 @@
}, {
'clang%': 0,
}],
['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le"', {
'host_clang%': '1',
}, {
'host_clang%': '0',
}],
],
# Default ARM variable settings.
'arm_version%': 'default',
......@@ -176,10 +180,11 @@
'default_configuration': 'Debug',
'configurations': {
'DebugBaseCommon': {
'cflags': [ '-g', '-O0' ],
'conditions': [
[ 'OS=="aix"', {
'cflags': [ '-gxcoff' ],
['OS=="aix"', {
'cflags': [ '-g', '-Og', '-gxcoff' ],
}, {
'cflags': [ '-g', '-O0' ],
}],
],
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment