diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2024-02-16 00:24:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 00:24:31 +0100 |
commit | 762365d20a2a7282c906ee170c644a3a96be3a21 (patch) | |
tree | 1bc5e49105e01d8961a9d1e5c65b887070f63616 /tools | |
parent | 7141bc487ec76c336fe1775d58771cecdb507957 (diff) | |
parent | 34ef1043ee1783f8ab20e74a8f883a235a96d629 (diff) | |
download | fork-godot-webrtc-native-762365d20a2a7282c906ee170c644a3a96be3a21.tar.gz fork-godot-webrtc-native-762365d20a2a7282c906ee170c644a3a96be3a21.tar.bz2 fork-godot-webrtc-native-762365d20a2a7282c906ee170c644a3a96be3a21.zip |
Merge pull request #138 from Faless/linux/arms
[Linux] Add arm32/arm64 linux builds support
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cmake.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |