EasyRPG / buildscripts

The scripts used to compile needed libraries for supported platform ports on our Jenkins server
https://ci.easyrpg.org/view/Toolchains/
Other
17 stars 18 forks source link

Stuff to fix before release #120

Closed Ghabry closed 3 years ago

Ghabry commented 3 years ago

For 64bit systems:

Pass -DCMAKE_INSTALL_LIBDIR=lib, otherwise some stuff lands in lib64.

Patch pixman Android

--- pixman-arm.c    2021-10-20 18:21:37.393810368 +0200
+++ pixman-arm2.c   2021-10-20 18:21:32.363884211 +0200
@@ -96,12 +96,13 @@

 #elif defined(__ANDROID__) || defined(ANDROID) /* Android */

-#include <cpu-features.h>
+//#include <cpu-features.h>

 static arm_cpu_features_t
 detect_cpu_features (void)
 {
     arm_cpu_features_t features = 0;
+#if 0
     AndroidCpuFamily cpu_family;
     uint64_t cpu_features;

@@ -119,6 +120,12 @@
    if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON)
        features |= ARM_NEON;
     }
+#endif
+#if defined(__arm__) || defined(__aarch64__)
+    features |= ARM_V7;
+    features |= ARM_VFP;
+    features |= ARM_NEON;
+#endif

     return features;
 }