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:
parent
ae11ecf093
commit
5821b02e82
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user