mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Fix the host and build options for Canadian cross builds.
The ARM on 4.9.0 with clang fails and needs an extra option and this is only valid building the build cross compiler. This change fxies the host and build flags so they only apply where needed.
This commit is contained in:
@@ -83,6 +83,7 @@ def load():
|
||||
cxx = '/usr/bin/c++'
|
||||
if check.check_exe(cxx, cxx):
|
||||
defines['__cxx'] = cxx
|
||||
defines['optflags_build'] = '-O2 -pipe -fbracket-depth=1024'
|
||||
cvs = 'cvs'
|
||||
if check.check_exe(cvs, cvs):
|
||||
defines['__cvs'] = cvs
|
||||
|
Reference in New Issue
Block a user