summaryrefslogtreecommitdiff
path: root/rtemstoolkit/darwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/darwin.py')
-rw-r--r--rtemstoolkit/darwin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtemstoolkit/darwin.py b/rtemstoolkit/darwin.py
index f7ce0da..e780d1d 100644
--- a/rtemstoolkit/darwin.py
+++ b/rtemstoolkit/darwin.py
@@ -49,7 +49,7 @@ def cpus():
def overrides():
uname = os.uname()
- ncpus = '%d' % (cores())
+ ncpus = '%d' % (cpus())
defines = {
'_ncpus': ('none', 'none', ncpus),
'_os': ('none', 'none', 'darwin'),
@@ -63,7 +63,6 @@ def overrides():
'_usr': ('dir', 'optional', '/usr/local'),
'_var': ('dir', 'optional', '/usr/local/var'),
'__ldconfig': ('exe', 'none', ''),
- '__cvs': ('exe', 'required', 'cvs'),
'__xz': ('exe', 'required', '%{_usr}/bin/xz'),
'with_zlib': ('none', 'none', '--with-zlib=no'),
'_forced_static': ('none', 'none', '')