Files
termux-packages/packages/moria/do-not-use-g++.patch
termux-pacman-bot 6b1041c68f fix(main/moria): avoid compiling with g++
- Progress on https://github.com/termux/termux-packages/issues/23492

- Fixes `g++: error: unrecognized command-line option ‘--target=aarch64-linux-android24’`
2026-01-03 08:06:32 +00:00

13 lines
333 B
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Prevents "g++: error: unrecognized command-line option --target=aarch64-linux-android24"
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,6 @@ else ()
endif ()
# Compiler settings (this must come before calling project)
-set(CMAKE_CXX_COMPILER g++)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED on)