[rtems-source-builder commit] sb: FreeBSD uses clang for cc on version 10 and later.
Chris Johns
chrisj at rtems.org
Wed Nov 5 21:38:41 UTC 2014
Module: rtems-source-builder
Branch: master
Commit: 5821b02e82c0e6667b2a0bbbb97da040a70b1987
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=5821b02e82c0e6667b2a0bbbb97da040a70b1987
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Nov 6 08:44:45 2014 +1100
sb: FreeBSD uses clang for cc on version 10 and later.
---
source-builder/sb/freebsd.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/source-builder/sb/freebsd.py b/source-builder/sb/freebsd.py
index 7666b96..714798f 100644
--- a/source-builder/sb/freebsd.py
+++ b/source-builder/sb/freebsd.py
@@ -96,8 +96,12 @@ def load():
cxx = '/usr/bin/clang++'
if check.check_exe(cxx, cxx):
raise error.general('no valid c++ not found')
- defines['build_cflags'] = '-O2 -pipe -fbracket-depth=1024'
- defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024'
+ #
+ # Assume the compiler is clang and so we need to increase
+ # bracket depth build build the gcc ARM compiler.
+ #
+ defines['build_cflags'] = '-O2 -pipe -fbracket-depth=1024'
+ defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024'
cvs = 'cvs'
if check.check_exe(cvs, cvs):
defines['__cvs'] = cvs
More information about the vc
mailing list