From 39066aab4db67e9a4f81bf63e76d0dd6887a5b39 Mon Sep 17 00:00:00 2001 From: pcc Date: Thu, 28 May 2015 12:14:24 -0700 Subject: Remove subtarget configuration flags. Our version of Clang now supports subtarget-specific code generation during LTO, so remove these flags, as they are no longer needed. BUG=453195 R=thakis@chromium.org Review URL: https://codereview.chromium.org/1148153004 Cr-Commit-Position: refs/heads/master@{#331834} --- build/common.gypi | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/build/common.gypi b/build/common.gypi index ee4cd9e..5074b62 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -6034,27 +6034,6 @@ ], }, }], - ['use_lto==1 and clang==1 and (target_arch=="ia32" or target_arch=="x64")', { - 'target_defaults': { - 'target_conditions': [ - # Required for third_party/zlib/crc_folding.c and various other code - # that uses SSE. TODO(pcc): Remove this once we properly support - # subtarget specific code generation in LLVM. - ['_toolset=="target"', { - 'ldflags': [ - '-Wl,-plugin-opt,mcpu=corei7-avx', - ], - }], - ['_toolset=="target" and _type!="static_library"', { - 'xcode_settings': { - 'OTHER_LDFLAGS': [ - '-Wl,-mcpu,corei7-avx', - ], - }, - }], - ], - }, - }], ['use_lto==1 and clang==1 and target_arch=="arm"', { 'target_defaults': { 'target_conditions': [ -- cgit v1.1