Deleted Added
sdiff udiff text old ( 11476:8c67ac296e75 ) new ( 11497:bfed9fdf0ac7 )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2013, 2015, 2016 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 719 unchanged lines hidden (view full) ---

728
729 # Use the same amount of jobs for LTO as we are running
730 # scons with
731 main['LTO_LDFLAGS'] = ['-flto=%d' % GetOption('num_jobs')]
732
733 main.Append(TCMALLOC_CCFLAGS=['-fno-builtin-malloc', '-fno-builtin-calloc',
734 '-fno-builtin-realloc', '-fno-builtin-free'])
735
736elif main['CLANG']:
737 # Check for a supported version of clang, >= 3.1 is needed to
738 # support similar features as gcc 4.7. See
739 # http://clang.llvm.org/cxx_status.html for details
740 clang_version_re = re.compile(".* version (\d+\.\d+)")
741 clang_version_match = clang_version_re.search(CXX_version)
742 if (clang_version_match):
743 clang_version = clang_version_match.groups()[0]

--- 807 unchanged lines hidden ---