mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: FreeBSD uses clang for cc on version 10 and later.
This commit is contained in:
@@ -96,8 +96,12 @@ def load():
|
|||||||
cxx = '/usr/bin/clang++'
|
cxx = '/usr/bin/clang++'
|
||||||
if check.check_exe(cxx, cxx):
|
if check.check_exe(cxx, cxx):
|
||||||
raise error.general('no valid c++ not found')
|
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'
|
cvs = 'cvs'
|
||||||
if check.check_exe(cvs, cvs):
|
if check.check_exe(cvs, cvs):
|
||||||
defines['__cvs'] = cvs
|
defines['__cvs'] = cvs
|
||||||
|
Reference in New Issue
Block a user