1 diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
2 index 32795da6..091d344b 100644
3 --- a/runtime/CMakeLists.txt
4 +++ b/runtime/CMakeLists.txt
5 @@ -551,6 +551,9 @@ include(profile-rt/DefineBuildProfileRT.cmake)
7 # Set up build and install targets
10 +set(CMAKE_C_COMPILER @TERMUX_C_COMPILER@)
11 +set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
13 if(MULTILIB AND "${TARGET_SYSTEM}" MATCHES "APPLE")
14 # On OS X, build "fat" libraries containing code for both architectures.