Browse Source

ninja: remove unneeded patch

build-on-device
Leonid Plyushch 5 years ago
parent
commit
b7d9065188
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 13
      packages/ninja/src-util.cc.patch

13
packages/ninja/src-util.cc.patch

@ -1,13 +0,0 @@
diff --git a/src/util.cc b/src/util.cc
index 84de879..0ac9ec7 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -585,7 +585,7 @@ double GetLoadAverage() {
// Calculation taken from comment in libperfstats.h
return double(cpu_stats.loadavg[0]) / double(1 << SBITS);
}
-#elif defined(__UCLIBC__)
+#elif defined(__UCLIBC__) || defined(__ANDROID__)
double GetLoadAverage() {
struct sysinfo si;
if (sysinfo(&si) != 0)
Loading…
Cancel
Save