89304c98 |
1 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
2 | index 336bbdbc..4b9e8c88 100644 |
3 | --- a/CMakeLists.txt |
4 | +++ b/CMakeLists.txt |
5 | @@ -591,7 +591,8 @@ if(UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR (${CMAKE_CXX_COMPILER_ID} STREQUAL "Cla |
6 | message(FATAL_ERROR "GDMD currently not supported due to http://bugzilla.gdcproject.org/show_bug.cgi?id=232.") |
7 | endif() |
8 | |
9 | - include(ExtractDMDSystemLinker) |
10 | + #include(ExtractDMDSystemLinker) |
11 | + set(D_LINKER_ARGS "-fuse-ld=bfd;-L@TERMUX_PKG_HOSTBUILD@/ldc-bootstrap/lib;-lphobos2-ldc;-ldruntime-ldc;-Wl,--gc-sections;-ldl;-lm") |
12 | message(STATUS "Host D compiler linker program: ${D_LINKER_COMMAND}") |
13 | message(STATUS "Host D compiler linker flags: ${D_LINKER_ARGS}") |
14 | list(APPEND LDC_LINKERFLAG_LIST ${D_LINKER_ARGS}) |