termux-packages/packages/ldc/ldc-config-stdlib.patch.beforehostbuild.in

15 lines
483 B
Plaintext
Raw Normal View History

2017-07-01 06:13:00 +05:30
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
index 32795da6..091d344b 100644
--- a/runtime/CMakeLists.txt
+++ b/runtime/CMakeLists.txt
2017-10-31 23:40:15 +05:30
@@ -551,6 +551,9 @@ include(profile-rt/DefineBuildProfileRT.cmake)
2017-09-13 07:26:46 +00:00
#
2017-07-01 06:13:00 +05:30
# Set up build and install targets
#
2017-09-13 07:26:46 +00:00
+
2017-07-01 06:13:00 +05:30
+set(CMAKE_C_COMPILER @TERMUX_C_COMPILER@)
+set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
2017-09-13 07:26:46 +00:00
if(MULTILIB AND "${TARGET_SYSTEM}" MATCHES "APPLE")
2017-07-01 06:13:00 +05:30
# On OS X, build "fat" libraries containing code for both architectures.