ldc: update to 1.5 release (#1731)
[termux-packages] / packages / ldc / ldc-config-stdlib.patch.beforehostbuild.in
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)
6 #
7 # Set up build and install targets
8 #
9 +
10 +set(CMAKE_C_COMPILER @TERMUX_C_COMPILER@)
11 +set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
12
13 if(MULTILIB AND "${TARGET_SYSTEM}" MATCHES "APPLE")
14 # On OS X, build "fat" libraries containing code for both architectures.