SConstruct (10264:894679c8cd63) | SConstruct (10278:362875aec1ba) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013 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 --- 624 unchanged lines hidden (view full) --- 633 # clang has a few additional warnings that we disable, 634 # tautological comparisons are allowed due to unsigned integers 635 # being compared to constants that happen to be 0, and extraneous 636 # parantheses are allowed due to Ruby's printing of the AST, 637 # finally self assignments are allowed as the generated CPU code 638 # is relying on this 639 main.Append(CCFLAGS=['-Wno-tautological-compare', 640 '-Wno-parentheses', | 1# -*- mode:python -*- 2 3# Copyright (c) 2013 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 --- 624 unchanged lines hidden (view full) --- 633 # clang has a few additional warnings that we disable, 634 # tautological comparisons are allowed due to unsigned integers 635 # being compared to constants that happen to be 0, and extraneous 636 # parantheses are allowed due to Ruby's printing of the AST, 637 # finally self assignments are allowed as the generated CPU code 638 # is relying on this 639 main.Append(CCFLAGS=['-Wno-tautological-compare', 640 '-Wno-parentheses', |
641 '-Wno-self-assign']) | 641 '-Wno-self-assign', 642 # Some versions of libstdc++ (4.8?) seem to 643 # use struct hash and class hash 644 # interchangeably. 645 '-Wno-mismatched-tags', 646 ]) |
642 643 main.Append(TCMALLOC_CCFLAGS=['-fno-builtin']) 644 645 # On Mac OS X/Darwin we need to also use libc++ (part of XCode) as 646 # opposed to libstdc++, as the later is dated. 647 if sys.platform == "darwin": 648 main.Append(CXXFLAGS=['-stdlib=libc++']) 649 main.Append(LIBS=['c++']) --- 720 unchanged lines hidden --- | 647 648 main.Append(TCMALLOC_CCFLAGS=['-fno-builtin']) 649 650 # On Mac OS X/Darwin we need to also use libc++ (part of XCode) as 651 # opposed to libstdc++, as the later is dated. 652 if sys.platform == "darwin": 653 main.Append(CXXFLAGS=['-stdlib=libc++']) 654 main.Append(LIBS=['c++']) --- 720 unchanged lines hidden --- |