mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
darwin: Default to cc and c++ for Mavrick.
This commit is contained in:
parent
00693f913b
commit
7c30130169
@ -51,9 +51,18 @@ def load():
|
|||||||
'__cvs': ('exe', 'required', 'cvs'),
|
'__cvs': ('exe', 'required', 'cvs'),
|
||||||
'__xz': ('exe', 'required', '%{_usr}/bin/xz'),
|
'__xz': ('exe', 'required', '%{_usr}/bin/xz'),
|
||||||
'with_zlib': ('none', 'none', '--with-zlib=no'),
|
'with_zlib': ('none', 'none', '--with-zlib=no'),
|
||||||
'_forced_static': ('none', 'none', '')
|
'_forced_static': ('none', 'none', ''),
|
||||||
|
'_extra_path': ('none', 'none', '%{_sbdir}/bin'),
|
||||||
|
'_ld_library_path': ('none', 'none', 'DYLD_LIBRARY_PATH')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
version = uname[2]
|
||||||
|
if version.find('.'):
|
||||||
|
version = version.split('.')[0]
|
||||||
|
if int(version) >= 13:
|
||||||
|
defines['__cc'] = ('exe', 'required', '/usr/bin/cc')
|
||||||
|
defines['__cxx'] = ('exe', 'required', '/usr/bin/c++')
|
||||||
|
|
||||||
defines['_build'] = defines['_host']
|
defines['_build'] = defines['_host']
|
||||||
defines['_build_vendor'] = defines['_host_vendor']
|
defines['_build_vendor'] = defines['_host_vendor']
|
||||||
defines['_build_os'] = defines['_host_os']
|
defines['_build_os'] = defines['_host_os']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user