From 34ef1043ee1783f8ab20e74a8f883a235a96d629 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 14 Feb 2024 22:21:57 +0100 Subject: [Linux] Add arm32/arm64 linux builds support Fix arch detection in GDNative builds (3.x) and add a small patch to avoid warnings spam on ARM. Make CMake march flags explicit for Linux arm32/arm64. Add new platforms to CI. --- tools/cmake.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/cmake.py') diff --git a/tools/cmake.py b/tools/cmake.py index 39957d8..2911011 100644 --- a/tools/cmake.py +++ b/tools/cmake.py @@ -37,6 +37,8 @@ def cmake_default_flags(env): linux_flags = { "x86_64": "-m64", "x86_32": "-m32", + "arm32": "-march=armv7-a", + "arm64": "-march=armv8-a", }.get(env["arch"], "") if linux_flags: config["CMAKE_C_FLAGS"] = linux_flags -- cgit v1.2.3