From: michael_dawson Date: Wed, 18 Mar 2015 08:42:14 +0000 (-0700) Subject: PPC: Force PPC linux to use gcc and gcc 4.8.3 changes for AIX X-Git-Tag: upstream/4.7.83~3786 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7bb84a452ec80f1d5baaffc2c122e98e8127227;p=platform%2Fupstream%2Fv8.git 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} --- diff --git a/build/standalone.gypi b/build/standalone.gypi index 8a8128d..a3c9522 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -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' ], }], ], },