diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-09-15 20:57:59 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-09-15 20:57:59 -0700 |
commit | a402679acc0b532bd85af1677f0352abd86f9ef1 (patch) | |
tree | c6f8ae4b2078e9dd651c7a01447642f3d5f49184 /D4669.diff | |
parent | Fix spidermonkey to use MAKEFLAGS for threads. (diff) | |
download | 0ad-a402679acc0b532bd85af1677f0352abd86f9ef1.tar.xz |
Rebuild with processor detection fix.
Diffstat (limited to 'D4669.diff')
-rw-r--r-- | D4669.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/D4669.diff b/D4669.diff new file mode 100644 index 0000000..d0ad398 --- /dev/null +++ b/D4669.diff @@ -0,0 +1,13 @@ +Index: source/lib/sysdep/os/linux/lcpu.cpp +=================================================================== +--- source/lib/sysdep/os/linux/lcpu.cpp ++++ source/lib/sysdep/os/linux/lcpu.cpp +@@ -48,7 +48,7 @@ + else + #endif + { +- long res = sysconf(_SC_NPROCESSORS_CONF); ++ long res = sysconf(_SC_NPROCESSORS_ONLN); + ENSURE(res != -1); + numProcessors = (size_t)res; + } |