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 --- 616 unchanged lines hidden (view full) --- 625 # is relying on this 626 main.Append(CCFLAGS=['-Wno-tautological-compare', 627 '-Wno-parentheses', 628 '-Wno-self-assign']) 629 630 main.Append(TCMALLOC_CCFLAGS=['-fno-builtin']) 631 632 # On Mac OS X/Darwin we need to also use libc++ (part of XCode) as |
633 # opposed to libstdc++, as the later is dated. 634 if sys.platform == "darwin": 635 main.Append(CXXFLAGS=['-stdlib=libc++']) 636 main.Append(LIBS=['c++']) |
637 638else: 639 print termcap.Yellow + termcap.Bold + 'Error' + termcap.Normal, 640 print "Don't know what compiler options to use for your compiler." 641 print termcap.Yellow + ' compiler:' + termcap.Normal, main['CXX'] 642 print termcap.Yellow + ' version:' + termcap.Normal, 643 if not CXX_version: 644 print termcap.Yellow + termcap.Bold + "COMMAND NOT FOUND!" +\ --- 610 unchanged lines hidden --- |