diff options
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 |