ldc: update to 1.5 release (#1731)
[termux-packages] / packages / ldc / ldc-config-stdlib.patch.beforehostbuild.in
CommitLineData
89304c98 1diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
2index 32795da6..091d344b 100644
3--- a/runtime/CMakeLists.txt
4+++ b/runtime/CMakeLists.txt
99109276 5@@ -551,6 +551,9 @@ include(profile-rt/DefineBuildProfileRT.cmake)
dcd2ee17 6 #
89304c98 7 # Set up build and install targets
8 #
dcd2ee17 9+
89304c98 10+set(CMAKE_C_COMPILER @TERMUX_C_COMPILER@)
11+set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
12
dcd2ee17 13 if(MULTILIB AND "${TARGET_SYSTEM}" MATCHES "APPLE")
89304c98 14 # On OS X, build "fat" libraries containing code for both architectures.